Enum age_plugin::identity::Error
source · [−]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
Fields
message: StringThe error message.
A general error that occured inside the state machine.
Stanza
Fields
file_index: usizeThe index of the file containing the stanza.
stanza_index: usizeThe index of the stanza within the file.
message: StringThe error message.
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 RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more