pub enum PutBytesError {
NoSpace,
}
Expand description
Error type for the PutBytes
trait.
Variants§
NoSpace
No more space available when writing into a byte slice.
Trait Implementations§
Source§impl Debug for PutBytesError
impl Debug for PutBytesError
Source§impl Display for PutBytesError
impl Display for PutBytesError
Source§impl Error for PutBytesError
impl Error for PutBytesError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<PutBytesError> for Error
impl From<PutBytesError> for Error
Source§fn from(source: PutBytesError) -> Self
fn from(source: PutBytesError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PutBytesError
impl PartialEq for PutBytesError
impl StructuralPartialEq for PutBytesError
Auto Trait Implementations§
impl Freeze for PutBytesError
impl RefUnwindSafe for PutBytesError
impl Send for PutBytesError
impl Sync for PutBytesError
impl Unpin for PutBytesError
impl UnwindSafe for PutBytesError
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