#[non_exhaustive]pub enum AsyncReadEvent {
Samples {
generation: u64,
data: Vec<u8>,
},
Reconfigured {
generation: u64,
change: AsyncReadConfigChange,
},
}Expand description
An item produced by an owned asynchronous reader.
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
IQ bytes captured under the indicated configuration generation.
Reconfigured
An exact stream boundary following a successful configuration change. All subsequent samples carry this generation until the next change.
Trait Implementations§
Source§impl Debug for AsyncReadEvent
impl Debug for AsyncReadEvent
impl Eq for AsyncReadEvent
Source§impl PartialEq for AsyncReadEvent
impl PartialEq for AsyncReadEvent
impl StructuralPartialEq for AsyncReadEvent
Auto Trait Implementations§
impl Freeze for AsyncReadEvent
impl RefUnwindSafe for AsyncReadEvent
impl Send for AsyncReadEvent
impl Sync for AsyncReadEvent
impl Unpin for AsyncReadEvent
impl UnsafeUnpin for AsyncReadEvent
impl UnwindSafe for AsyncReadEvent
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