pub enum GetBodyError {
WrongURID,
MalformedAtom,
}Expand description
Errors that may occur when calling Atom::get_body.
Variants§
WrongURID
The URID noted in the atom header is wrong.
Maybe you tried to use the wrong atom type?
MalformedAtom
The atom is malformed.
You can’t do much about it; This is another plugin’s fault.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetBodyError
impl RefUnwindSafe for GetBodyError
impl Send for GetBodyError
impl Sync for GetBodyError
impl Unpin for GetBodyError
impl UnwindSafe for GetBodyError
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