pub enum ResolveArraySizeError {
ExpectedPositiveArrayLength,
NonConstArrayLength,
}
Variants§
Trait Implementations§
Source§impl Clone for ResolveArraySizeError
impl Clone for ResolveArraySizeError
Source§fn clone(&self) -> ResolveArraySizeError
fn clone(&self) -> ResolveArraySizeError
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 moreSource§impl Debug for ResolveArraySizeError
impl Debug for ResolveArraySizeError
Source§impl Display for ResolveArraySizeError
impl Display for ResolveArraySizeError
Source§impl Error for ResolveArraySizeError
impl Error for ResolveArraySizeError
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<ResolveArraySizeError> for Error
impl From<ResolveArraySizeError> for Error
Source§fn from(source: ResolveArraySizeError) -> Self
fn from(source: ResolveArraySizeError) -> Self
Converts to this type from the input type.
Source§impl From<ResolveArraySizeError> for Error
impl From<ResolveArraySizeError> for Error
Source§fn from(source: ResolveArraySizeError) -> Self
fn from(source: ResolveArraySizeError) -> Self
Converts to this type from the input type.
Source§impl From<ResolveArraySizeError> for Error
impl From<ResolveArraySizeError> for Error
Source§fn from(source: ResolveArraySizeError) -> Self
fn from(source: ResolveArraySizeError) -> Self
Converts to this type from the input type.
Source§impl From<ResolveArraySizeError> for Error
impl From<ResolveArraySizeError> for Error
Source§fn from(source: ResolveArraySizeError) -> Self
fn from(source: ResolveArraySizeError) -> Self
Converts to this type from the input type.
Source§impl From<ResolveArraySizeError> for IndexableLengthError
impl From<ResolveArraySizeError> for IndexableLengthError
Source§fn from(source: ResolveArraySizeError) -> Self
fn from(source: ResolveArraySizeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ResolveArraySizeError
impl PartialEq for ResolveArraySizeError
impl Copy for ResolveArraySizeError
impl StructuralPartialEq for ResolveArraySizeError
Auto Trait Implementations§
impl Freeze for ResolveArraySizeError
impl RefUnwindSafe for ResolveArraySizeError
impl Send for ResolveArraySizeError
impl Sync for ResolveArraySizeError
impl Unpin for ResolveArraySizeError
impl UnwindSafe for ResolveArraySizeError
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