pub struct PrepareStream;Expand description
This command causes the playback system to enter the Prepared state. The DAC resets its
buffer to be empty and sets “point_count” to 0.
This command may only be sent if the light engine is Ready and the playback system is
Idle. If so, the DAC replies with ACK. Otherwise, it replies with NAK - Invalid.
Trait Implementations§
Source§impl Clone for PrepareStream
impl Clone for PrepareStream
Source§fn clone(&self) -> PrepareStream
fn clone(&self) -> PrepareStream
Returns a duplicate 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 moreSource§impl Command for PrepareStream
impl Command for PrepareStream
Source§const START_BYTE: u8 = 112u8
const START_BYTE: u8 = 112u8
The starting byte of the command.
Source§fn start_byte(&self) -> u8
fn start_byte(&self) -> u8
A provided method for producing the start byte. Useful for trait objects.
Source§impl Debug for PrepareStream
impl Debug for PrepareStream
Source§impl<'a> From<PrepareStream> for Command<'a>
impl<'a> From<PrepareStream> for Command<'a>
Source§fn from(command: PrepareStream) -> Self
fn from(command: PrepareStream) -> Self
Converts to this type from the input type.
Source§impl Hash for PrepareStream
impl Hash for PrepareStream
Source§impl PartialEq for PrepareStream
impl PartialEq for PrepareStream
Source§impl ReadFromBytes for PrepareStream
impl ReadFromBytes for PrepareStream
Source§fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
Read the command from bytes.
Source§impl SizeBytes for PrepareStream
impl SizeBytes for PrepareStream
const SIZE_BYTES: usize = 1usize
Source§impl WriteToBytes for PrepareStream
impl WriteToBytes for PrepareStream
Source§fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
Write the command to bytes.
impl Copy for PrepareStream
impl Eq for PrepareStream
impl StructuralPartialEq for PrepareStream
Auto Trait Implementations§
impl Freeze for PrepareStream
impl RefUnwindSafe for PrepareStream
impl Send for PrepareStream
impl Sync for PrepareStream
impl Unpin for PrepareStream
impl UnwindSafe for PrepareStream
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