Enum extended_primitives::buffer::BufferError
source · [−]pub enum BufferError {
OutOfBounds,
InvalidString(FromUtf8Error),
NonMinimalVarInt,
}
Variants
OutOfBounds
InvalidString(FromUtf8Error)
NonMinimalVarInt
Trait Implementations
sourceimpl Debug for BufferError
impl Debug for BufferError
sourceimpl Display for BufferError
impl Display for BufferError
sourceimpl Error for BufferError
impl Error for BufferError
sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<FromUtf8Error> for BufferError
impl From<FromUtf8Error> for BufferError
sourcefn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for BufferError
impl Send for BufferError
impl Sync for BufferError
impl Unpin for BufferError
impl UnwindSafe for BufferError
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