Enum linkspace::prelude::endian_types::TryFitSliceError
pub enum TryFitSliceError {
Overflow {
max: usize,
got: usize,
},
}
Variants§
Trait Implementations§
§impl Clone for TryFitSliceError
impl Clone for TryFitSliceError
§fn clone(&self) -> TryFitSliceError
fn clone(&self) -> TryFitSliceError
Returns a copy 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 more§impl Debug for TryFitSliceError
impl Debug for TryFitSliceError
§impl Display for TryFitSliceError
impl Display for TryFitSliceError
§impl Error for TryFitSliceError
impl Error for TryFitSliceError
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()
impl Copy for TryFitSliceError
Auto Trait Implementations§
impl RefUnwindSafe for TryFitSliceError
impl Send for TryFitSliceError
impl Sync for TryFitSliceError
impl Unpin for TryFitSliceError
impl UnwindSafe for TryFitSliceError
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