pub struct CmdRawJsonArgs<S: AsRef<str>>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<S: AsRef<str>> MpvCommand for CmdRawJsonArgs<S>
impl<S: AsRef<str>> MpvCommand for CmdRawJsonArgs<S>
Source§type Error = Infallible
type Error = Infallible
The error produced while parsing
Self::Data.Source§type ParsedData = Value
type ParsedData = Value
The output of
parse_data.Source§fn write_args(&self, w: impl Write) -> Result<()>
fn write_args(&self, w: impl Write) -> Result<()>
Formats command arguments into a stream. Read more
Source§fn parse_data(&self, data: Self::Data) -> Result<Self::ParsedData, Self::Error>
fn parse_data(&self, data: Self::Data) -> Result<Self::ParsedData, Self::Error>
Parses data from a response “data” field. The data is guaranteed to be a valid JSON value.
Auto Trait Implementations§
impl<S> Freeze for CmdRawJsonArgs<S>where
S: Freeze,
impl<S> RefUnwindSafe for CmdRawJsonArgs<S>where
S: RefUnwindSafe,
impl<S> Send for CmdRawJsonArgs<S>where
S: Send,
impl<S> Sync for CmdRawJsonArgs<S>where
S: Sync,
impl<S> Unpin for CmdRawJsonArgs<S>where
S: Unpin,
impl<S> UnwindSafe for CmdRawJsonArgs<S>where
S: UnwindSafe,
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