pub enum WaycapError {
FFmpeg(Error),
Egl(Error),
PipeWire(String),
Portal(String),
Io(Error),
Init(String),
Config(String),
Stream(String),
Encoding(String),
Device(String),
Validation(String),
Other(String),
}
Variants§
FFmpeg(Error)
Errors from FFmpeg
Egl(Error)
Egl Errors,
PipeWire(String)
Errors from PipeWire
Portal(String)
Errors from XDG Portal
Io(Error)
I/O errors
Init(String)
Initialization errors
Config(String)
Configuration errors
Stream(String)
Stream errors
Encoding(String)
Encoding errors
Device(String)
Device errors
Validation(String)
Validation errors
Other(String)
Other errors
Trait Implementations§
Source§impl Debug for WaycapError
impl Debug for WaycapError
Source§impl Display for WaycapError
impl Display for WaycapError
Source§impl Error for WaycapError
impl Error for WaycapError
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<&str> for WaycapError
impl From<&str> for WaycapError
Source§impl From<Error> for WaycapError
impl From<Error> for WaycapError
Source§impl From<Error> for WaycapError
impl From<Error> for WaycapError
Source§impl From<Error> for WaycapError
impl From<Error> for WaycapError
Source§impl From<Error> for WaycapError
impl From<Error> for WaycapError
Source§impl From<PortalError> for WaycapError
impl From<PortalError> for WaycapError
Auto Trait Implementations§
impl Freeze for WaycapError
impl !RefUnwindSafe for WaycapError
impl Send for WaycapError
impl Sync for WaycapError
impl Unpin for WaycapError
impl !UnwindSafe for WaycapError
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