Struct generic_bytes::TryFromSizedBytesError
source · [−]pub struct TryFromSizedBytesError(_);
Expand description
The error type returned when a conversion from a generic byte slice to a SizedBytes fails.
Implementations
sourceimpl TryFromSizedBytesError
impl TryFromSizedBytesError
pub fn new() -> TryFromSizedBytesError
Trait Implementations
sourceimpl Clone for TryFromSizedBytesError
impl Clone for TryFromSizedBytesError
sourcefn clone(&self) -> TryFromSizedBytesError
fn clone(&self) -> TryFromSizedBytesError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TryFromSizedBytesError
impl Debug for TryFromSizedBytesError
sourceimpl Default for TryFromSizedBytesError
impl Default for TryFromSizedBytesError
sourcefn default() -> TryFromSizedBytesError
fn default() -> TryFromSizedBytesError
Returns the “default value” for a type. Read more
sourceimpl Display for TryFromSizedBytesError
impl Display for TryFromSizedBytesError
impl Copy for TryFromSizedBytesError
Auto Trait Implementations
impl RefUnwindSafe for TryFromSizedBytesError
impl Send for TryFromSizedBytesError
impl Sync for TryFromSizedBytesError
impl Unpin for TryFromSizedBytesError
impl UnwindSafe for TryFromSizedBytesError
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