Struct rubble::link::filter::ScanFilter[][src]

pub struct ScanFilter<S: AddressFilter> {
    scan: S,
}
Expand description

Scanner filter policy. Governs which devices will be scanned by this device.

This can be used for active and passive scanning. Advertisements sent by devices not matched by the filter will be ignored.

Fields

scan: S

Implementations

Creates a new scanner filter policy from an AddressFilter.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.