pub struct UnsizedError;
Expand description
Tried to get the Layout
of an unsized type
Trait Implementations§
Source§impl Clone for UnsizedError
impl Clone for UnsizedError
Source§fn clone(&self) -> UnsizedError
fn clone(&self) -> UnsizedError
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 UnsizedError
impl Debug for UnsizedError
Source§impl Display for UnsizedError
impl Display for UnsizedError
Source§impl Error for UnsizedError
impl Error for UnsizedError
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<UnsizedError> for TryFromError
impl From<UnsizedError> for TryFromError
Source§fn from(_value: UnsizedError) -> Self
fn from(_value: UnsizedError) -> Self
Converts to this type from the input type.
Source§impl Hash for UnsizedError
impl Hash for UnsizedError
Source§impl Ord for UnsizedError
impl Ord for UnsizedError
Source§fn cmp(&self, other: &UnsizedError) -> Ordering
fn cmp(&self, other: &UnsizedError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UnsizedError
impl PartialEq for UnsizedError
Source§impl PartialOrd for UnsizedError
impl PartialOrd for UnsizedError
impl Copy for UnsizedError
impl Eq for UnsizedError
impl StructuralPartialEq for UnsizedError
Auto Trait Implementations§
impl Freeze for UnsizedError
impl RefUnwindSafe for UnsizedError
impl Send for UnsizedError
impl Sync for UnsizedError
impl Unpin for UnsizedError
impl UnwindSafe for UnsizedError
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