Enum vcsr::errors::VcsrError [−][src]
pub enum VcsrError {
Show 13 variants
ArgumentError(String),
ColourError(String),
GridShape,
ImageError(ImageError),
IoError(Error),
IntError(ParseIntError),
FloatError(ParseFloatError),
MediaError,
NoneError,
RustTypeError,
StreamError(Error),
TimestampError(String),
VideoStreamError,
}
Variants
ArgumentError(String)
Tuple Fields of ArgumentError
0: String
ColourError(String)
Tuple Fields of ColourError
0: String
ImageError(ImageError)
Tuple Fields of ImageError
0: ImageError
IoError(Error)
Tuple Fields of IoError
0: Error
IntError(ParseIntError)
Tuple Fields of IntError
FloatError(ParseFloatError)
Tuple Fields of FloatError
StreamError(Error)
Tuple Fields of StreamError
0: Error
TimestampError(String)
Tuple Fields of TimestampError
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for VcsrError
impl !UnwindSafe for VcsrError
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Convert the given value into an approximately equivalent representation.
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
Convert the subject into an approximately equivalent representation.
Mutably borrows from an owned value. Read more
Approximate the subject with the default scheme.
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject with a specific scheme.
Approximate the subject to a given type with the default scheme.
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
Attempt to convert the subject to a given type.