pub enum MembersError {
Io(Error),
Magic,
Version {
found: u32,
expected: u32,
},
}Expand description
A failure while reading or writing the memberships.
Variants§
Io(Error)
An I/O failure.
Magic
The bytes do not start with the memberships magic.
Version
The layout version is not the one this build reads.
Trait Implementations§
Source§impl Debug for MembersError
impl Debug for MembersError
Source§impl Display for MembersError
impl Display for MembersError
Source§impl Error for MembersError
impl Error for MembersError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for MembersError
impl !UnwindSafe for MembersError
impl Freeze for MembersError
impl Send for MembersError
impl Sync for MembersError
impl Unpin for MembersError
impl UnsafeUnpin for MembersError
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