pub struct TryFromSizedBytesError(/* private fields */);
Expand description
The error type returned when a conversion from a generic byte slice to a SizedBytes fails.
Implementations§
Source§impl TryFromSizedBytesError
impl TryFromSizedBytesError
pub fn new() -> TryFromSizedBytesError
Trait Implementations§
Source§impl Clone for TryFromSizedBytesError
impl Clone for TryFromSizedBytesError
Source§fn clone(&self) -> TryFromSizedBytesError
fn clone(&self) -> TryFromSizedBytesError
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 TryFromSizedBytesError
impl Debug for TryFromSizedBytesError
Source§impl Default for TryFromSizedBytesError
impl Default for TryFromSizedBytesError
Source§fn default() -> TryFromSizedBytesError
fn default() -> TryFromSizedBytesError
Returns the “default value” for a type. Read more
Source§impl Display for TryFromSizedBytesError
impl Display for TryFromSizedBytesError
impl Copy for TryFromSizedBytesError
Auto Trait Implementations§
impl Freeze for TryFromSizedBytesError
impl RefUnwindSafe for TryFromSizedBytesError
impl Send for TryFromSizedBytesError
impl Sync for TryFromSizedBytesError
impl Unpin for TryFromSizedBytesError
impl UnwindSafe for TryFromSizedBytesError
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