[][src]Trait n2k::hal::can::FilterGroup

pub trait FilterGroup {
    fn num_filters(&self) -> usize;
fn extended(&self) -> bool;
fn mask(&self) -> Option<MaskType>;
fn rtr(&self) -> RtrFilterBehavior; }

A filter group with its capabilities.

Required methods

fn num_filters(&self) -> usize

Returns the number of consecutive filter with the same capability.

fn extended(&self) -> bool

Returs true when extended 29bit identifiers are supported (in addition to the standard 11bit identifiers).

fn mask(&self) -> Option<MaskType>

Returns the filter mask type. None if no masks is supported.

fn rtr(&self) -> RtrFilterBehavior

Returs the filter behavior in regard to remote frames.

Loading content...

Implementors

Loading content...