Struct primitives::storage_key::FromKeyBytesResult
source · pub struct FromKeyBytesResult<ShouldCheckInput: StaticBool> { /* private fields */ }
Trait Implementations§
source§impl<'a> ConditionalReturnValue<'a> for FromKeyBytesResult<SkipInputCheck>
impl<'a> ConditionalReturnValue<'a> for FromKeyBytesResult<SkipInputCheck>
type Output = StorageKeyWithSpace<'a>
fn from_key(k: StorageKeyWithSpace<'a>) -> Self::Output
fn from_result(_r: Result<StorageKeyWithSpace<'a>, String>) -> Self::Output
source§impl<'a> ConditionalReturnValue<'a> for FromKeyBytesResult<CheckInput>
impl<'a> ConditionalReturnValue<'a> for FromKeyBytesResult<CheckInput>
type Output = Result<StorageKeyWithSpace<'a>, String>
fn from_key(k: StorageKeyWithSpace<'a>) -> Self::Output
fn from_result(r: Result<StorageKeyWithSpace<'a>, String>) -> Self::Output
Auto Trait Implementations§
impl<ShouldCheckInput> RefUnwindSafe for FromKeyBytesResult<ShouldCheckInput>where
ShouldCheckInput: RefUnwindSafe,
impl<ShouldCheckInput> Send for FromKeyBytesResult<ShouldCheckInput>where
ShouldCheckInput: Send,
impl<ShouldCheckInput> Sync for FromKeyBytesResult<ShouldCheckInput>where
ShouldCheckInput: Sync,
impl<ShouldCheckInput> Unpin for FromKeyBytesResult<ShouldCheckInput>where
ShouldCheckInput: Unpin,
impl<ShouldCheckInput> UnwindSafe for FromKeyBytesResult<ShouldCheckInput>where
ShouldCheckInput: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more