Struct std::array::TryFromSliceError
1.34.0 · source · [−]pub struct TryFromSliceError(_);Expand description
The error type returned when a conversion from a slice to an array fails.
Trait Implementations
impl Clone for TryFromSliceError
source
impl Clone for TryFromSliceError
sourcefn clone(&self) -> TryFromSliceError
source
fn clone(&self) -> TryFromSliceError
sourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0 · source
fn clone_from(&mut self, source: &Self)
1.0.0 · sourcePerforms copy-assignment from source. Read more
impl Debug for TryFromSliceError
source
impl Debug for TryFromSliceError
sourceimpl Display for TryFromSliceError
1.36.0 · source
impl Display for TryFromSliceError
1.36.0 · sourceimpl Error for TryFromSliceError
source
impl Error for TryFromSliceError
sourcefn description(&self) -> &str
source
fn description(&self) -> &str
source👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0 · source
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0 · sourceThe lower-level source of this error, if any. Read more
impl From<Infallible> for TryFromSliceError
1.36.0 (const: unstable) · source
impl From<Infallible> for TryFromSliceError
1.36.0 (const: unstable) · sourcefn from(x: Infallible) -> TryFromSliceError
const: unstable · source
fn from(x: Infallible) -> TryFromSliceError
const: unstable · sourceConverts to this type from the input type.
impl Copy for TryFromSliceError
sourceAuto Trait Implementations
impl RefUnwindSafe for TryFromSliceError
impl Send for TryFromSliceError
impl Sync for TryFromSliceError
impl Unpin for TryFromSliceError
impl UnwindSafe for TryFromSliceError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
source
impl<T> BorrowMut<T> for T where
T: ?Sized,
sourcefn borrow_mut(&mut self) -> &mut T
const: unstable · source
fn borrow_mut(&mut self) -> &mut T
const: unstable · sourceMutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
source
impl<T> ToOwned for T where
T: Clone,
sourcetype Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
source
fn clone_into(&self, target: &mut T)
sourceUses borrowed data to replace owned data, usually by cloning. Read more