pub enum VideoEncoderError {
WindowsError(Error),
FrameSendError(SendError<Option<(VideoEncoderSource, TimeSpan)>>),
AudioSendError(SendError<Option<(AudioEncoderSource, TimeSpan)>>),
VideoDisabled,
AudioDisabled,
IoError(Error),
}
Variantsยง
WindowsError(Error)
FrameSendError(SendError<Option<(VideoEncoderSource, TimeSpan)>>)
AudioSendError(SendError<Option<(AudioEncoderSource, TimeSpan)>>)
VideoDisabled
AudioDisabled
IoError(Error)
Trait Implementationsยง
Sourceยงimpl Debug for VideoEncoderError
impl Debug for VideoEncoderError
Sourceยงimpl Display for VideoEncoderError
impl Display for VideoEncoderError
Sourceยงimpl Error for VideoEncoderError
impl Error for VideoEncoderError
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 From<Error> for VideoEncoderError
impl From<Error> for VideoEncoderError
Sourceยงimpl From<Error> for VideoEncoderError
impl From<Error> for VideoEncoderError
Sourceยงimpl From<SendError<Option<(AudioEncoderSource, TimeSpan)>>> for VideoEncoderError
impl From<SendError<Option<(AudioEncoderSource, TimeSpan)>>> for VideoEncoderError
Sourceยงimpl From<SendError<Option<(VideoEncoderSource, TimeSpan)>>> for VideoEncoderError
impl From<SendError<Option<(VideoEncoderSource, TimeSpan)>>> for VideoEncoderError
impl Send for VideoEncoderError
impl Sync for VideoEncoderError
Auto Trait Implementationsยง
impl Freeze for VideoEncoderError
impl !RefUnwindSafe for VideoEncoderError
impl Unpin for VideoEncoderError
impl !UnwindSafe for VideoEncoderError
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