pub enum Error {
Identity {
index: usize,
message: String,
},
Internal {
message: String,
},
Stanza {
file_index: usize,
stanza_index: usize,
message: String,
},
}Expand description
The kinds of errors that can occur within the identity plugin state machine.
Variants§
Identity
An error caused by a specific identity.
Internal
A general error that occured inside the state machine.
Stanza
An error caused by a specific stanza.
Note that unknown stanzas MUST be ignored by plugins; this error is only for stanzas that have a supported tag but are otherwise invalid (indicating an invalid age file).
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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