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
GridShape
ImageError(ImageError)

Tuple Fields of ImageError

0: ImageError
IoError(Error)

Tuple Fields of IoError

0: Error
IntError(ParseIntError)

Tuple Fields of IntError

0: ParseIntError
FloatError(ParseFloatError)

Tuple Fields of FloatError

0: ParseFloatError
MediaError
NoneError
RustTypeError
StreamError(Error)

Tuple Fields of StreamError

0: Error
TimestampError(String)

Tuple Fields of TimestampError

0: String
VideoStreamError

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Convert the source color to the destination color using the specified method Read more

Convert the source color to the destination color using the bradford method by default Read more

Gets the TypeId of self. Read more

The error type produced by a failed conversion.

Convert the given value into an approximately equivalent representation.

The error type produced by a failed conversion.

Convert the subject into an approximately equivalent representation.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Approximate the subject with the default scheme.

Approximate the subject with a specific scheme.

Approximate the subject to a given type with the default scheme.

Approximate the subject to a given type with a specific scheme.

Convert the subject to a given type.

Attempt to convert the subject to a given type.

Attempt a value conversion of the subject to a given type.

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Converts the given value to a String. Read more

The error type produced by a failed conversion.

Convert the given value into the subject type.

The type returned in the event of a conversion error.

Performs the conversion.

The error type produced by a failed conversion.

Convert the subject into the destination type.

The type returned in the event of a conversion error.

Performs the conversion.

The error type produced by a failed conversion.

Convert the given value into an exactly equivalent representation.

The error type produced by a failed conversion.

Convert the subject into an exactly equivalent representation.