#[non_exhaustive]pub enum Stream {
Samples,
Digital,
}Expand description
A named bulk stream. Independently enabled: one run bit, one burst bound, one pipe and one sticky overrun each.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Samples
The samples stream: sections of adio_dig, rhd_matrix. Started by run_samples,
bounded by burst_samples, lanes selected by lanes_samples; depth and sticky overrun on
stream_status_samples.
Digital
The digital stream: sections of adio_dig. Started by run_digital, bounded by
burst_digital; depth and sticky overrun on stream_status_digital.
Implementations§
Source§impl Stream
impl Stream
Sourcepub fn from_token(s: &str) -> Option<Self>
pub fn from_token(s: &str) -> Option<Self>
Parse a token. None is a token this build does not know — from a device on
a newer minor, which is legal and must never be a parse failure.
Sourcepub const fn max_frame_bytes(self) -> usize
pub const fn max_frame_bytes(self) -> usize
A GENEROUS read-sizing hint in bytes. ADVISORY — never a validity gate: two sections of one kind are legal, so a frame may exceed it and must still decode.
Trait Implementations§
impl Copy for Stream
impl Eq for Stream
impl StructuralPartialEq for Stream
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
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