pub struct CpCommand<'a> {
pub copy_protection_id: u32,
pub command_bytes: &'a [u8],
}Expand description
cp_command() (Table 72): app → host. The cp_command_bytes are
opaque, CP-system-specific bytes carried verbatim.
Fields§
§copy_protection_id: u3224-bit CopyProtectionID.
command_bytes: &'a [u8]Opaque command bytes.
Trait Implementations§
impl<'a> Eq for CpCommand<'a>
Source§impl Serialize for CpCommand<'_>
impl Serialize for CpCommand<'_>
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl<'a> StructuralPartialEq for CpCommand<'a>
Auto Trait Implementations§
impl<'a> Freeze for CpCommand<'a>
impl<'a> RefUnwindSafe for CpCommand<'a>
impl<'a> Send for CpCommand<'a>
impl<'a> Sync for CpCommand<'a>
impl<'a> Unpin for CpCommand<'a>
impl<'a> UnsafeUnpin for CpCommand<'a>
impl<'a> UnwindSafe for CpCommand<'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