pub enum TargetMembership {
Absent,
PresentUnknownDirectory,
PresentSameDirectory,
PresentOtherDirectory,
}Expand description
How the request’s voter key relates to the current voter set.
Variants§
Absent
No current voter has the request’s voter id.
PresentUnknownDirectory
The voter id is current, and its stored directory id is unknown.
PresentSameDirectory
The voter id is current, with the request’s directory id.
PresentOtherDirectory
The voter id is current, with a different known directory id.
Trait Implementations§
Source§impl Clone for TargetMembership
impl Clone for TargetMembership
Source§fn clone(&self) -> TargetMembership
fn clone(&self) -> TargetMembership
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TargetMembership
Source§impl Debug for TargetMembership
impl Debug for TargetMembership
impl Eq for TargetMembership
Source§impl PartialEq for TargetMembership
impl PartialEq for TargetMembership
impl StructuralPartialEq for TargetMembership
Auto Trait Implementations§
impl Freeze for TargetMembership
impl RefUnwindSafe for TargetMembership
impl Send for TargetMembership
impl Sync for TargetMembership
impl Unpin for TargetMembership
impl UnsafeUnpin for TargetMembership
impl UnwindSafe for TargetMembership
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