pub enum ArrayError {
SliceError(TryFromSliceError),
VectorError(String),
}Expand description
Possible errors when working with the large array type
Variants§
SliceError(TryFromSliceError)
Error when trying from slice
VectorError(String)
Error when converting from vector
Trait Implementations§
Source§impl Debug for ArrayError
impl Debug for ArrayError
Source§impl Display for ArrayError
impl Display for ArrayError
Source§impl Error for ArrayError
impl Error for ArrayError
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<ArrayError> for IdBlockError
impl From<ArrayError> for IdBlockError
Source§fn from(value: ArrayError) -> Self
fn from(value: ArrayError) -> Self
Converts to this type from the input type.
Source§impl From<ArrayError> for MeasurementError
impl From<ArrayError> for MeasurementError
Source§fn from(value: ArrayError) -> Self
fn from(value: ArrayError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for ArrayError
impl From<TryFromSliceError> for ArrayError
Source§fn from(value: TryFromSliceError) -> Self
fn from(value: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArrayError
impl RefUnwindSafe for ArrayError
impl Send for ArrayError
impl Sync for ArrayError
impl Unpin for ArrayError
impl UnsafeUnpin for ArrayError
impl UnwindSafe for ArrayError
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