Struct cw_storage_plus::Prefix [−][src]
pub struct Prefix<T> where
T: Serialize + DeserializeOwned, { /* fields omitted */ }
Implementations
pub fn with_deserialization_function(
top_name: &[u8],
sub_names: &[&[u8]],
pk_name: &[u8],
de_fn: fn(_: &dyn Storage, _: &[u8], _: Pair) -> StdResult<Pair<T>>
) -> Self
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Prefix<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Prefix<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self