Enum ParameterErrorKind
enum ParameterErrorKind
Details how a parameter is malformed.
Variants
-
DimensionMismatch The dimensions passed are wrong.
-
FailedAlready Repeated an operation for which error that could not be cloned was emitted already.
-
Generic(String) A string describing the parameter. This is discouraged and is likely to get deprecated (but not removed).
-
NoMoreData The end of the image has been reached.
Implementations
impl Clone for ParameterErrorKind
fn clone(self: &Self) -> ParameterErrorKind
impl Debug for ParameterErrorKind
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Freeze for ParameterErrorKind
impl Hash for ParameterErrorKind
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl PartialEq for ParameterErrorKind
fn eq(self: &Self, other: &ParameterErrorKind) -> bool
impl RefUnwindSafe for ParameterErrorKind
impl Send for ParameterErrorKind
impl StructuralPartialEq for ParameterErrorKind
impl Sync for ParameterErrorKind
impl Unpin for ParameterErrorKind
impl UnwindSafe for ParameterErrorKind
impl<T> Any for ParameterErrorKind
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ParameterErrorKind
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ParameterErrorKind
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for ParameterErrorKind
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for ParameterErrorKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Pointable for ParameterErrorKind
unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> ToOwned for ParameterErrorKind
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for ParameterErrorKind
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for ParameterErrorKind
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ParameterErrorKind
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>