pub enum GraphicsCaptureApiError<E> {
FailedToJoinThread,
FailedToInitWinRT,
FailedToCreateDispatcherQueueController,
FailedToShutdownDispatcherQueue,
FailedToSetDispatcherQueueCompletedHandler,
ItemConvertFailed,
GraphicsCaptureApiError(Error),
NewHandlerError(E),
FrameHandlerError(E),
}Variantsยง
FailedToJoinThread
FailedToInitWinRT
FailedToCreateDispatcherQueueController
FailedToShutdownDispatcherQueue
FailedToSetDispatcherQueueCompletedHandler
ItemConvertFailed
GraphicsCaptureApiError(Error)
NewHandlerError(E)
FrameHandlerError(E)
Trait Implementationsยง
sourceยงimpl<E: Clone> Clone for GraphicsCaptureApiError<E>
impl<E: Clone> Clone for GraphicsCaptureApiError<E>
sourceยงfn clone(&self) -> GraphicsCaptureApiError<E>
fn clone(&self) -> GraphicsCaptureApiError<E>
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<E: Debug> Debug for GraphicsCaptureApiError<E>
impl<E: Debug> Debug for GraphicsCaptureApiError<E>
sourceยงimpl<E> Display for GraphicsCaptureApiError<E>
impl<E> Display for GraphicsCaptureApiError<E>
sourceยงimpl<E> Error for GraphicsCaptureApiError<E>
impl<E> Error for GraphicsCaptureApiError<E>
1.30.0 ยท 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<E> From<GraphicsCaptureApiError<E>> for CaptureControlError<E>
impl<E> From<GraphicsCaptureApiError<E>> for CaptureControlError<E>
sourceยงfn from(source: GraphicsCaptureApiError<E>) -> Self
fn from(source: GraphicsCaptureApiError<E>) -> Self
Converts to this type from the input type.
sourceยงimpl<E: PartialEq> PartialEq for GraphicsCaptureApiError<E>
impl<E: PartialEq> PartialEq for GraphicsCaptureApiError<E>
sourceยงfn eq(&self, other: &GraphicsCaptureApiError<E>) -> bool
fn eq(&self, other: &GraphicsCaptureApiError<E>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<E: Eq> Eq for GraphicsCaptureApiError<E>
impl<E> StructuralPartialEq for GraphicsCaptureApiError<E>
Auto Trait Implementationsยง
impl<E> Freeze for GraphicsCaptureApiError<E>where
E: Freeze,
impl<E> RefUnwindSafe for GraphicsCaptureApiError<E>where
E: RefUnwindSafe,
impl<E> Send for GraphicsCaptureApiError<E>where
E: Send,
impl<E> Sync for GraphicsCaptureApiError<E>where
E: Sync,
impl<E> Unpin for GraphicsCaptureApiError<E>where
E: Unpin,
impl<E> UnwindSafe for GraphicsCaptureApiError<E>where
E: UnwindSafe,
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