[−][src]Struct ether_dream::protocol::command::Begin
Causes the DAC to begin producing output.
If the playback system was Prepared
and there was data in the buffer, then the DAC will
reply with ACK.
Otherwise, it replies with NAK - Invalid.
Fields
low_water_mark: u16
Currently unused.
point_rate: u32
The number of points per second to be read from the buffer.
Methods
impl Begin
[src]
pub fn read_fields<R: ReadBytesExt>(reader: R) -> Result<Self>
[src]
Consecutively read the fields of the Begin type and return a Begin instance.
Note that if reading from a stream, this method assumes that the starting command byte has already been read.
Trait Implementations
impl Clone for Begin
[src]
impl Command for Begin
[src]
const START_BYTE: u8
[src]
fn start_byte(&self) -> u8
[src]
impl Copy for Begin
[src]
impl Debug for Begin
[src]
impl Eq for Begin
[src]
impl<'a> From<Begin> for Command<'a>
[src]
impl Hash for Begin
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Begin> for Begin
[src]
impl ReadFromBytes for Begin
[src]
fn read_from_bytes<R: ReadBytesExt>(reader: R) -> Result<Self>
[src]
impl SizeBytes for Begin
[src]
const SIZE_BYTES: usize
[src]
impl StructuralEq for Begin
[src]
impl StructuralPartialEq for Begin
[src]
impl WriteToBytes for Begin
[src]
fn write_to_bytes<W: WriteBytesExt>(&self, writer: W) -> Result<()>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Begin
impl Send for Begin
impl Sync for Begin
impl Unpin for Begin
impl UnwindSafe for Begin
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,