Enum nuts_bytes::PutBytesError
source · 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)>
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
source§fn eq(&self, other: &PutBytesError) -> bool
fn eq(&self, other: &PutBytesError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutBytesError
Auto Trait Implementations§
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