pub struct GroupStorageState { /* private fields */ }Available on (32-bit or 64-bit) and (crate features
test-utils) only.Expand description
All state associated only with a GroupId
Implementations§
Source§impl GroupStorageState
impl GroupStorageState
pub fn non_proposal_state(&self) -> &NonProposalGroupStorageState
pub fn from_storage( store: &impl StorageProvider<CURRENT_VERSION>, group_id: &impl GroupId<CURRENT_VERSION>, ) -> GroupStorageState
Trait Implementations§
Source§impl PartialEq for GroupStorageState
impl PartialEq for GroupStorageState
impl StructuralPartialEq for GroupStorageState
Auto Trait Implementations§
impl Freeze for GroupStorageState
impl RefUnwindSafe for GroupStorageState
impl Send for GroupStorageState
impl Sync for GroupStorageState
impl Unpin for GroupStorageState
impl UnwindSafe for GroupStorageState
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more