pub enum NdimageError {
Show 18 variants
InvalidInput(String),
DimensionError(String),
ImplementationError(String),
ComputationError(String),
FilterError(String),
InterpolationError(String),
MeasurementError(String),
MorphologyError(String),
NotImplementedError(String),
ProcessingError(String),
CoreError(CoreError),
IoError(Error),
ShapeError(ShapeError),
FormatError(Error),
GpuNotAvailable(String),
ConfigurationError(String),
MemoryError(String),
Other(String),
}Expand description
Error type for ndimage operations
Variants§
InvalidInput(String)
Invalid input data
DimensionError(String)
Dimension error
ImplementationError(String)
Implementation error
ComputationError(String)
Computation error
FilterError(String)
Filter error
InterpolationError(String)
Interpolation error
MeasurementError(String)
Measurement error
MorphologyError(String)
Morphology error
NotImplementedError(String)
Not implemented error
ProcessingError(String)
Processing error
CoreError(CoreError)
Core error (propagated from scirs2-core)
IoError(Error)
IO error
ShapeError(ShapeError)
Shape building error
FormatError(Error)
Format error
GpuNotAvailable(String)
GPU not available error
ConfigurationError(String)
Configuration error
MemoryError(String)
Memory error
Other(String)
Other error
Trait Implementations§
Source§impl Debug for NdimageError
impl Debug for NdimageError
Source§impl Display for NdimageError
impl Display for NdimageError
Source§impl Error for NdimageError
impl Error for NdimageError
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<CoreError> for NdimageError
impl From<CoreError> for NdimageError
Source§impl From<Error> for NdimageError
impl From<Error> for NdimageError
Source§impl From<Error> for NdimageError
impl From<Error> for NdimageError
Source§impl From<FFTError> for NdimageError
impl From<FFTError> for NdimageError
Source§impl From<NdimageError> for PyError
impl From<NdimageError> for PyError
Source§fn from(error: NdimageError) -> Self
fn from(error: NdimageError) -> Self
Converts to this type from the input type.
Source§impl From<ShapeError> for NdimageError
impl From<ShapeError> for NdimageError
Source§fn from(source: ShapeError) -> Self
fn from(source: ShapeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NdimageError
impl !RefUnwindSafe for NdimageError
impl Send for NdimageError
impl Sync for NdimageError
impl Unpin for NdimageError
impl UnsafeUnpin for NdimageError
impl !UnwindSafe for NdimageError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.