pub enum WtbError {
Header(HeaderError),
Record(RecordError),
}
Variants
Header(HeaderError)
Record(RecordError)
Trait Implementations
sourceimpl From<HeaderError> for WtbError
impl From<HeaderError> for WtbError
sourcefn from(error: HeaderError) -> Self
fn from(error: HeaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for WtbError
impl Send for WtbError
impl Sync for WtbError
impl Unpin for WtbError
impl UnwindSafe for WtbError
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