Struct oasis_core_runtime::consensus::state::registry::ImmutableState
source · pub struct ImmutableState<'a, T: ImmutableMKVS> { /* private fields */ }
Expand description
Consensus registry state wrapper.
Implementations§
source§impl<'a, T: ImmutableMKVS> ImmutableState<'a, T>
impl<'a, T: ImmutableMKVS> ImmutableState<'a, T>
sourcepub fn new(mkvs: &'a T) -> ImmutableState<'a, T>
pub fn new(mkvs: &'a T) -> ImmutableState<'a, T>
Constructs a new ImmutableMKVS.
source§impl<'a, T: ImmutableMKVS> ImmutableState<'a, T>
impl<'a, T: ImmutableMKVS> ImmutableState<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for ImmutableState<'a, T>
impl<'a, T> RefUnwindSafe for ImmutableState<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ImmutableState<'a, T>where
T: Sync,
impl<'a, T> Sync for ImmutableState<'a, T>where
T: Sync,
impl<'a, T> Unpin for ImmutableState<'a, T>
impl<'a, T> UnwindSafe for ImmutableState<'a, T>where
T: RefUnwindSafe,
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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