pub struct AvcCommand { /* private fields */ }
Expand description
Represents a received AVC Command from a Peer
.
Implementations§
Source§impl Command
impl Command
pub fn avctp_header(&self) -> &AvctpHeader
pub fn avc_header(&self) -> &Header
pub fn body(&self) -> &[u8] ⓘ
pub fn send_response( &self, response_type: ResponseType, body: &[u8], ) -> Result<(), Error>
pub fn is_vendor_dependent(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl !RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl !UnwindSafe for Command
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