pub enum HardwareEncodeOpenError {
Refused(String),
Busy(String),
Failed(EncodeError),
}Expand description
Why a hardware session did not open.
Variants§
Refused(String)
The encoder refused before anything was written; another path can still take the export.
Busy(String)
The device has no session free (another export holds them), before anything was written. Another path can still take the export, or this one once the other export ends.
Failed(EncodeError)
The output was being created when this failed; the export has failed.
Trait Implementations§
Source§impl Debug for HardwareEncodeOpenError
impl Debug for HardwareEncodeOpenError
Auto Trait Implementations§
impl Forget for HardwareEncodeOpenError
impl Freeze for HardwareEncodeOpenError
impl Move for HardwareEncodeOpenError
impl RefUnwindSafe for HardwareEncodeOpenError
impl Send for HardwareEncodeOpenErrorwhere
RawVecInner: Send,
impl Sync for HardwareEncodeOpenErrorwhere
RawVecInner: Sync,
impl Unpin for HardwareEncodeOpenError
impl UnsafeUnpin for HardwareEncodeOpenErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<EncoderRefusal>: UnsafeUnpin,
impl UnwindSafe for HardwareEncodeOpenErrorwhere
RawVecInner: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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