Enum windows_capture::encoder::ImageEncoderError
source ยท pub enum ImageEncoderError {
UnsupportedFormat,
WindowsError(Error),
}Variantsยง
Trait Implementationsยง
sourceยงimpl Clone for ImageEncoderError
impl Clone for ImageEncoderError
sourceยงfn clone(&self) -> ImageEncoderError
fn clone(&self) -> ImageEncoderError
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceยงimpl Debug for ImageEncoderError
impl Debug for ImageEncoderError
sourceยงimpl Display for ImageEncoderError
impl Display for ImageEncoderError
sourceยงimpl Error for ImageEncoderError
impl Error for ImageEncoderError
sourceยงfn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for ImageEncoderError
impl From<Error> for ImageEncoderError
sourceยงimpl From<ImageEncoderError> for Error
impl From<ImageEncoderError> for Error
sourceยงfn from(source: ImageEncoderError) -> Self
fn from(source: ImageEncoderError) -> Self
Converts to this type from the input type.
sourceยงimpl PartialEq for ImageEncoderError
impl PartialEq for ImageEncoderError
sourceยงfn eq(&self, other: &ImageEncoderError) -> bool
fn eq(&self, other: &ImageEncoderError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ImageEncoderError
impl StructuralPartialEq for ImageEncoderError
Auto Trait Implementationsยง
impl Freeze for ImageEncoderError
impl RefUnwindSafe for ImageEncoderError
impl Send for ImageEncoderError
impl Sync for ImageEncoderError
impl Unpin for ImageEncoderError
impl UnwindSafe for ImageEncoderError
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 more