pub enum Error {
DevicesDiscoverFail(Error),
DevicesUrlParseError(String),
DevicesCreateError(String, Error),
DevicesRenderNotFound(RenderSpec),
StreamingHostParseError(String),
StreamingFileDoesNotExist(String),
StreamingRemoteRenderConnectFail(String, Error),
StreamingIdentifyLocalAddressError(Error),
DLNASetAVTransportURIError(Error),
DLNAPlayError(Error),
DLNAStreamingError(JoinError),
}Expand description
Errors that can happen inside crab-dlna
Variants§
DevicesDiscoverFail(Error)
An error occurred while discovering devices
DevicesUrlParseError(String)
An error occurred while parsing a device URL
DevicesCreateError(String, Error)
An error occurred while parsing and creating a device
DevicesRenderNotFound(RenderSpec)
An error occurred when the specified render is not found
StreamingHostParseError(String)
An error occurred parsing a host or IP address
StreamingFileDoesNotExist(String)
An error occurred when a certain media file does not exist
StreamingRemoteRenderConnectFail(String, Error)
An error occurred while trying to connect to the render
StreamingIdentifyLocalAddressError(Error)
An error occurred while trying to identify the host IP address
DLNASetAVTransportURIError(Error)
An error occurred while sending the SetAVTransportURI DLNA action to the render
DLNAPlayError(Error)
An error occurred while sending the Play DLNA action to the render
DLNAStreamingError(JoinError)
An error occurred while serving and streaming the media files
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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()
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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