Enum embassy_stm32::can::filter::FilterType
source · pub enum FilterType<ID, UNIT>{
Range {
from: ID,
to: ID,
},
BitMask {
filter: UNIT,
mask: UNIT,
},
DedicatedSingle(ID),
DedicatedDual(ID, ID),
Disabled,
}
Expand description
Filter Type
Variants§
Range
Match with a range between two messages
BitMask
Match with a bitmask
DedicatedSingle(ID)
Match with a single ID
DedicatedDual(ID, ID)
Match with one of two ID’s
Disabled
Filter is disabled
Trait Implementations§
source§impl<ID, UNIT> Clone for FilterType<ID, UNIT>
impl<ID, UNIT> Clone for FilterType<ID, UNIT>
source§fn clone(&self) -> FilterType<ID, UNIT>
fn clone(&self) -> FilterType<ID, UNIT>
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<ID, UNIT> Debug for FilterType<ID, UNIT>
impl<ID, UNIT> Debug for FilterType<ID, UNIT>
impl<ID, UNIT> Copy for FilterType<ID, UNIT>
Auto Trait Implementations§
impl<ID, UNIT> Freeze for FilterType<ID, UNIT>
impl<ID, UNIT> RefUnwindSafe for FilterType<ID, UNIT>where
ID: RefUnwindSafe,
UNIT: RefUnwindSafe,
impl<ID, UNIT> Send for FilterType<ID, UNIT>
impl<ID, UNIT> Sync for FilterType<ID, UNIT>
impl<ID, UNIT> Unpin for FilterType<ID, UNIT>
impl<ID, UNIT> UnwindSafe for FilterType<ID, UNIT>where
ID: UnwindSafe,
UNIT: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)