Enum openmls::group::InnerState
source · pub enum InnerState {
Changed,
Persisted,
}
Expand description
Enum
that indicates whether the inner group state has been modified since the last time it was persisted.
InnerState::Changed
indicates that the state has changed and that [.save()
] should be called.
InnerState::Persisted
indicates that the state has not been modified and therefore doesn’t need to be persisted.
Variants§
Changed
The inner group state has changed and needs to be persisted.
Persisted
The inner group state hasn’t changed and doesn’t need to be persisted.
Trait Implementations§
source§impl Clone for InnerState
impl Clone for InnerState
source§fn clone(&self) -> InnerState
fn clone(&self) -> InnerState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InnerState
impl Debug for InnerState
source§impl PartialEq<InnerState> for InnerState
impl PartialEq<InnerState> for InnerState
source§fn eq(&self, other: &InnerState) -> bool
fn eq(&self, other: &InnerState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InnerState
impl Eq for InnerState
impl StructuralEq for InnerState
impl StructuralPartialEq for InnerState
Auto Trait Implementations§
impl RefUnwindSafe for InnerState
impl Send for InnerState
impl Sync for InnerState
impl Unpin for InnerState
impl UnwindSafe for InnerState
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