pub enum EncodeSliceError {
    OutputSliceTooSmall,
}Expand description
Errors that can occur while encoding into a slice.
Variants§
OutputSliceTooSmall
The provided slice is too small.
Trait Implementations§
Source§impl Clone for EncodeSliceError
 
impl Clone for EncodeSliceError
Source§fn clone(&self) -> EncodeSliceError
 
fn clone(&self) -> EncodeSliceError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for EncodeSliceError
 
impl Debug for EncodeSliceError
Source§impl Display for EncodeSliceError
 
impl Display for EncodeSliceError
Source§impl Error for EncodeSliceError
 
impl Error for EncodeSliceError
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 PartialEq for EncodeSliceError
 
impl PartialEq for EncodeSliceError
impl Eq for EncodeSliceError
impl StructuralPartialEq for EncodeSliceError
Auto Trait Implementations§
impl Freeze for EncodeSliceError
impl RefUnwindSafe for EncodeSliceError
impl Send for EncodeSliceError
impl Sync for EncodeSliceError
impl Unpin for EncodeSliceError
impl UnwindSafe for EncodeSliceError
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