pub struct CdRecord<'a> {
pub sig: u8,
pub body: &'a [u8],
}Expand description
One CD record: its signature byte and the bytes after the framing header.
Fields§
§sig: u8Signature low byte (the SIG_CD_* type).
body: &'a [u8]Record payload (between the framing header and the record end).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CdRecord<'a>
impl<'a> RefUnwindSafe for CdRecord<'a>
impl<'a> Send for CdRecord<'a>
impl<'a> Sync for CdRecord<'a>
impl<'a> Unpin for CdRecord<'a>
impl<'a> UnsafeUnpin for CdRecord<'a>
impl<'a> UnwindSafe for CdRecord<'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