pub enum HlsMuxerError {
UnsupportedBuffer(&'static str),
ZeroSegmentDuration,
InvalidWindowSize(usize),
EmptyInitFilename,
MissingSegmentIndex(PathBuf),
NonUtf8Path {
field: &'static str,
path: PathBuf,
},
EmbeddedNul {
field: &'static str,
},
NoStreams,
Ffmpeg(Error),
}Expand description
Errors specific to HlsMuxer.
Variants§
UnsupportedBuffer(&'static str)
ZeroSegmentDuration
InvalidWindowSize(usize)
EmptyInitFilename
MissingSegmentIndex(PathBuf)
NonUtf8Path
EmbeddedNul
NoStreams
Ffmpeg(Error)
Trait Implementations§
Source§impl Debug for HlsMuxerError
impl Debug for HlsMuxerError
Source§impl Display for HlsMuxerError
impl Display for HlsMuxerError
Source§impl Error for HlsMuxerError
impl Error for HlsMuxerError
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 HlsMuxerError
impl From<Error> for HlsMuxerError
Source§impl From<HlsMuxerError> for Error
impl From<HlsMuxerError> for Error
Source§fn from(source: HlsMuxerError) -> Self
fn from(source: HlsMuxerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HlsMuxerError
impl RefUnwindSafe for HlsMuxerError
impl Send for HlsMuxerError
impl Sync for HlsMuxerError
impl Unpin for HlsMuxerError
impl UnsafeUnpin for HlsMuxerError
impl UnwindSafe for HlsMuxerError
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