pub enum Error<'a> {
BadData(&'static str),
NotEnoughData,
BlockDoesntExist,
InvalidString,
UnkonwnStructureType(&'a [u8]),
UnsupportedStructureType(&'a [u8]),
}
Variants
BadData(&'static str)
NotEnoughData
BlockDoesntExist
InvalidString
UnkonwnStructureType(&'a [u8])
UnsupportedStructureType(&'a [u8])
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Error<'a>
impl<'a> Send for Error<'a>
impl<'a> Sync for Error<'a>
impl<'a> Unpin for Error<'a>
impl<'a> UnwindSafe for Error<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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