Enum futuresdr::blocks::SelectorDropPolicy
source · pub enum SelectorDropPolicy {
DropAll,
SameRate,
NoDrop,
}
Expand description
Drop Policy for Selector
block
Variants§
DropAll
Drop all unselected inputs Warning: probably your flowgraph at inputs should be rate-limited somehow.
SameRate
Drop unselected inputs at the same rate as the selected one. Warning: probably you will use more CPU than needed, but get a consistent CPU usage whatever the select
NoDrop
Do not drop inputs that are unselected.
Trait Implementations§
source§impl Clone for DropPolicy
impl Clone for DropPolicy
source§fn clone(&self) -> DropPolicy
fn clone(&self) -> DropPolicy
Returns a copy 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 DropPolicy
impl Debug for DropPolicy
source§impl Display for DropPolicy
impl Display for DropPolicy
source§impl FromStr for DropPolicy
impl FromStr for DropPolicy
source§impl PartialEq for DropPolicy
impl PartialEq for DropPolicy
source§fn eq(&self, other: &DropPolicy) -> bool
fn eq(&self, other: &DropPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DropPolicy
impl Eq for DropPolicy
impl StructuralEq for DropPolicy
impl StructuralPartialEq for DropPolicy
Auto Trait Implementations§
impl RefUnwindSafe for DropPolicy
impl Send for DropPolicy
impl Sync for DropPolicy
impl Unpin for DropPolicy
impl UnwindSafe for DropPolicy
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