pub enum HlsError {
NullPointer,
InvalidHeadSize,
PeerClosedConnection,
PayloadNone,
DecrypterNone,
EncrypterNone,
WsFrameTypeNone,
DataTooShort,
Currently(String),
}Variants§
NullPointer
InvalidHeadSize
PeerClosedConnection
PayloadNone
DecrypterNone
EncrypterNone
WsFrameTypeNone
DataTooShort
Currently(String)
Trait Implementations§
Source§impl Error for HlsError
impl Error for HlsError
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()
Source§impl From<AddrParseError> for HlsError
impl From<AddrParseError> for HlsError
Source§fn from(value: AddrParseError) -> Self
fn from(value: AddrParseError) -> Self
Converts to this type from the input type.
Source§impl From<DecoderError> for HlsError
impl From<DecoderError> for HlsError
Source§fn from(value: DecoderError) -> Self
fn from(value: DecoderError) -> Self
Converts to this type from the input type.
Source§impl From<FromHexError> for HlsError
impl From<FromHexError> for HlsError
Source§fn from(value: FromHexError) -> Self
fn from(value: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for HlsError
impl From<FromUtf8Error> for HlsError
Source§fn from(e: FromUtf8Error) -> Self
fn from(e: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<HPackError> for HlsError
impl From<HPackError> for HlsError
Source§fn from(value: HPackError) -> Self
fn from(value: HPackError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for HlsError
impl From<Infallible> for HlsError
Source§fn from(value: Infallible) -> Self
fn from(value: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for HlsError
impl From<ParseIntError> for HlsError
Source§fn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl<T: 'static> From<PoisonError<T>> for HlsError
impl<T: 'static> From<PoisonError<T>> for HlsError
Source§fn from(value: PoisonError<T>) -> Self
fn from(value: PoisonError<T>) -> Self
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for HlsError
impl From<TryFromSliceError> for HlsError
Source§fn from(value: TryFromSliceError) -> Self
fn from(value: TryFromSliceError) -> Self
Converts to this type from the input type.
impl Send for HlsError
Auto Trait Implementations§
impl Freeze for HlsError
impl RefUnwindSafe for HlsError
impl Sync for HlsError
impl Unpin for HlsError
impl UnsafeUnpin for HlsError
impl UnwindSafe for HlsError
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