#[non_exhaustive]pub enum AsyncReadConfigChange {
CenterFrequency(u32),
TunerGain(TunerGain),
SampleRate(u32),
}Expand description
A configuration change applied to an AsyncReadHandle stream.
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.
Trait Implementations§
Source§impl Clone for AsyncReadConfigChange
impl Clone for AsyncReadConfigChange
Source§fn clone(&self) -> AsyncReadConfigChange
fn clone(&self) -> AsyncReadConfigChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsyncReadConfigChange
impl Debug for AsyncReadConfigChange
impl Eq for AsyncReadConfigChange
Source§impl PartialEq for AsyncReadConfigChange
impl PartialEq for AsyncReadConfigChange
impl StructuralPartialEq for AsyncReadConfigChange
Auto Trait Implementations§
impl Freeze for AsyncReadConfigChange
impl RefUnwindSafe for AsyncReadConfigChange
impl Send for AsyncReadConfigChange
impl Sync for AsyncReadConfigChange
impl Unpin for AsyncReadConfigChange
impl UnsafeUnpin for AsyncReadConfigChange
impl UnwindSafe for AsyncReadConfigChange
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