#[non_exhaustive]pub enum ReceiverBandwidth {
MetadataOnly,
AudioOnly,
Lowest,
Highest,
}Expand description
Operational bandwidth modes for receivers.
These values are receiver configuration modes that the NDI SDK can use for
normal receive operation. SDK Max sentinel values are intentionally not
exposed in safe Rust because they are placeholders, not valid receiver
modes.
This enum is marked #[non_exhaustive] so future SDK receiver modes can be
added without another avoidable public enum break. Downstream match
expressions should include a wildcard arm.
Choose an explicit operational value such as ReceiverBandwidth::Highest,
ReceiverBandwidth::Lowest, ReceiverBandwidth::AudioOnly, or
ReceiverBandwidth::MetadataOnly for receiver configuration.
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 ReceiverBandwidth
impl Clone for ReceiverBandwidth
Source§fn clone(&self) -> ReceiverBandwidth
fn clone(&self) -> ReceiverBandwidth
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 Debug for ReceiverBandwidth
impl Debug for ReceiverBandwidth
Source§impl Default for ReceiverBandwidth
impl Default for ReceiverBandwidth
Source§fn default() -> ReceiverBandwidth
fn default() -> ReceiverBandwidth
Returns the “default value” for a type. Read more
Source§impl From<ReceiverBandwidth> for c_int
impl From<ReceiverBandwidth> for c_int
Source§fn from(bandwidth: ReceiverBandwidth) -> Self
fn from(bandwidth: ReceiverBandwidth) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReceiverBandwidth
impl PartialEq for ReceiverBandwidth
impl Copy for ReceiverBandwidth
impl Eq for ReceiverBandwidth
impl StructuralPartialEq for ReceiverBandwidth
Auto Trait Implementations§
impl Freeze for ReceiverBandwidth
impl RefUnwindSafe for ReceiverBandwidth
impl Send for ReceiverBandwidth
impl Sync for ReceiverBandwidth
impl Unpin for ReceiverBandwidth
impl UnsafeUnpin for ReceiverBandwidth
impl UnwindSafe for ReceiverBandwidth
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