pub struct UnknownCommand<'a> {
pub command_name: StringCow<'a>,
pub values: Vec<Amf0Value<'static>>,
}
Expand description
Any unknown command
e.g. FFmpeg sends some commands that don’t appear in any spec, so we need to handle them.
Fields§
§command_name: StringCow<'a>
Name of the unknown command.
values: Vec<Amf0Value<'static>>
All other values of the command including the command object.
Trait Implementations§
Source§impl<'a> Clone for UnknownCommand<'a>
impl<'a> Clone for UnknownCommand<'a>
Source§fn clone(&self) -> UnknownCommand<'a>
fn clone(&self) -> UnknownCommand<'a>
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 moreAuto Trait Implementations§
impl<'a> !Freeze for UnknownCommand<'a>
impl<'a> RefUnwindSafe for UnknownCommand<'a>
impl<'a> Send for UnknownCommand<'a>
impl<'a> Sync for UnknownCommand<'a>
impl<'a> Unpin for UnknownCommand<'a>
impl<'a> UnwindSafe for UnknownCommand<'a>
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