pub enum BackendError {
SessionLost(String),
Unsupported(String),
Corrupt(String),
HardwarePicture(String),
Failed(String),
}Expand description
Why a decoder session failed.
Variants§
SessionLost(String)
The system took the session away (app backgrounded, codec reclaimed, device lost); a new session can continue.
Unsupported(String)
The session cannot decode this stream.
Corrupt(String)
The packet just submitted is damaged.
HardwarePicture(String)
A hardware session could not decode a picture.
Failed(String)
Anything else.
Trait Implementations§
Source§impl Clone for BackendError
impl Clone for BackendError
Source§impl Debug for BackendError
impl Debug for BackendError
Source§impl Display for BackendError
impl Display for BackendError
impl Eq for BackendError
Source§impl From<BackendError> for DecodeError
impl From<BackendError> for DecodeError
Source§fn from(error: BackendError) -> Self
fn from(error: BackendError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BackendError
impl PartialEq for BackendError
impl StructuralPartialEq for BackendError
Auto Trait Implementations§
impl Forget for BackendError
impl Freeze for BackendError
impl Move for BackendError
impl RefUnwindSafe for BackendError
impl Send for BackendErrorwhere
RawVecInner: Send,
impl Sync for BackendErrorwhere
RawVecInner: Sync,
impl Unpin for BackendError
impl UnsafeUnpin for BackendError
impl UnwindSafe for BackendErrorwhere
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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