pub enum StreamCheckError {
ConnectionFailed(),
IllegalStatusCode(u32),
MaxDepthReached(),
MissingContentType(),
PlayListDecodeError(),
PlaylistEmpty(),
PlaylistReadFailed(),
UnknownContentType(String),
UrlJoinError(),
UrlParseError(),
NoLocationFieldForRedirect(),
NoResult(),
}Expand description
Posible errors for stream checking. First parameter is the url.
Variants§
ConnectionFailed()
IllegalStatusCode(u32)
MaxDepthReached()
MissingContentType()
PlayListDecodeError()
PlaylistEmpty()
PlaylistReadFailed()
UnknownContentType(String)
UrlJoinError()
UrlParseError()
NoLocationFieldForRedirect()
NoResult()
Trait Implementations§
Source§impl Clone for StreamCheckError
impl Clone for StreamCheckError
Source§fn clone(&self) -> StreamCheckError
fn clone(&self) -> StreamCheckError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamCheckError
impl Debug for StreamCheckError
Source§impl<'de> Deserialize<'de> for StreamCheckError
impl<'de> Deserialize<'de> for StreamCheckError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for StreamCheckError
impl Display for StreamCheckError
Source§impl Error for StreamCheckError
impl Error for StreamCheckError
1.30.0 · 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 StreamCheckError
impl RefUnwindSafe for StreamCheckError
impl Send for StreamCheckError
impl Sync for StreamCheckError
impl Unpin for StreamCheckError
impl UnwindSafe for StreamCheckError
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