pub enum StreamControlError {
NotFound(String),
CannotBeControlled(String),
CannotNext(String),
CannotPrevious(String),
CannotPlay(String),
CannotPause(String),
CannotSeek(String),
CannotControl(String),
InvalidParams(String),
Unknown(i64, String),
}Expand description
an error controlling a stream
Variants§
NotFound(String)
CannotBeControlled(String)
CannotNext(String)
CannotPrevious(String)
CannotPlay(String)
CannotPause(String)
CannotSeek(String)
CannotControl(String)
InvalidParams(String)
Unknown(i64, String)
Implementations§
Trait Implementations§
Source§impl Debug for StreamControlError
impl Debug for StreamControlError
Source§impl<'de> Deserialize<'de> for StreamControlError
impl<'de> Deserialize<'de> for StreamControlError
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StreamControlError
impl RefUnwindSafe for StreamControlError
impl Send for StreamControlError
impl Sync for StreamControlError
impl Unpin for StreamControlError
impl UnwindSafe for StreamControlError
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