pub enum GraphicsCaptureApiError<E> {
FailedToJoinThread,
FailedToInitWinRT,
FailedToCreateDispatcherQueueController,
FailedToShutdownDispatcherQueue,
FailedToSetDispatcherQueueCompletedHandler,
ItemConvertFailed,
DirectXError(Error),
GraphicsCaptureApiError(Error),
NewHandlerError(E),
FrameHandlerError(E),
}Variantsยง
FailedToJoinThread
FailedToInitWinRT
FailedToCreateDispatcherQueueController
FailedToShutdownDispatcherQueue
FailedToSetDispatcherQueueCompletedHandler
ItemConvertFailed
DirectXError(Error)
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 duplicate 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>where
E: Display,
impl<E> Display for GraphicsCaptureApiError<E>where
E: Display,
Sourceยงimpl<E> Error for GraphicsCaptureApiError<E>
impl<E> Error for GraphicsCaptureApiError<E>
Sourceยงfn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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