Struct ParameterError
pub struct ParameterError { /* private fields */ }
An error was encountered in inputs arguments.
This is used as an opaque representation for the ImageError::Parameter variant. See its
documentation for more information.
Implementations
impl ParameterError
fn from_kind(kind: ParameterErrorKind) -> SelfConstruct a
ParameterErrordirectly from a corresponding kind.fn kind(&self) -> ParameterErrorKindReturns the corresponding
ParameterErrorKindof the error.
Trait Implementations
impl Debug for ParameterError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for ParameterError
fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>
impl Error for ParameterError
fn source(&self) -> Option<&dyn Error + 'static>
Auto Trait Implementations
impl !RefUnwindSafe for ParameterError
impl !UnwindSafe for ParameterError
impl Freeze for ParameterError
impl Send for ParameterError
impl Sync for ParameterError
impl Unpin for ParameterError
impl UnsafeUnpin for ParameterError
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for ParameterError
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for ParameterError
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for ParameterError
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for ParameterError
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for ParameterError
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for ParameterError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoEither for ParameterError
impl<T> Pointable for ParameterError
const ALIGN: usize = _;type Init = T;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> Read<Exclusive, BecauseExclusive> for ParameterError
where
T: ?Sized,
impl<T> ToString for ParameterError
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for ParameterError
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for ParameterError
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for ParameterError
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>