Enum bao_tree::io::StartDecodeError
source · pub enum StartDecodeError {
NotFound,
Io(Error),
}
Expand description
Error when starting to decode from a reader
Variants§
NotFound
We got an EOF when reading the size, indicating that the remote end does not have the blob
Io(Error)
A generic io error
Trait Implementations§
source§impl Debug for StartDecodeError
impl Debug for StartDecodeError
source§impl Display for StartDecodeError
impl Display for StartDecodeError
source§impl Error for StartDecodeError
impl Error for StartDecodeError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<StartDecodeError> for AnyDecodeError
impl From<StartDecodeError> for AnyDecodeError
source§fn from(e: StartDecodeError) -> Self
fn from(e: StartDecodeError) -> Self
Converts to this type from the input type.
source§impl From<StartDecodeError> for Error
impl From<StartDecodeError> for Error
source§fn from(e: StartDecodeError) -> Self
fn from(e: StartDecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StartDecodeError
impl Send for StartDecodeError
impl Sync for StartDecodeError
impl Unpin for StartDecodeError
impl !UnwindSafe for StartDecodeError
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