Enum gooey::HeadlessError [−][src]
pub enum HeadlessError {
Kludgine(Error),
Gpu(Error),
Png(EncodingError),
Io(Error),
ValueTooLarge(TryFromIntError),
Ffmpeg(String),
}
Expand description
Errors that can occur while using Headless
.
Variants
Kludgine(Error)
An error from kludgine
occurred.
Tuple Fields of Kludgine
0: Error
Gpu(Error)
An error from easygpu
occurred.
Tuple Fields of Gpu
0: Error
A png encoding error occurred.
Io(Error)
An io error occcurred.
Tuple Fields of Io
0: Error
ValueTooLarge(TryFromIntError)
A value encountered was too large. This error shouldn’t happen in practical use cases.
Tuple Fields of ValueTooLarge
Ffmpeg(String)
An error occurred while interacting with ffmpeg
. The contained string
is the stderr
output.
Tuple Fields of Ffmpeg
0: String
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for HeadlessError
impl Send for HeadlessError
impl Sync for HeadlessError
impl Unpin for HeadlessError
impl !UnwindSafe for HeadlessError
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
D: AdaptFrom<S, Swp, Dwp, T>,
Swp: WhitePoint,
Dwp: WhitePoint,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined
range, otherwise an OutOfBounds
error is returned which contains
the unclamped color. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more