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

pub struct AdvFilter<S: AddressFilter, C: AddressFilter> {
    scan: S,
    connect: C,
}
Expand description

Advertising filter policy. Governs which devices may scan and connect to an advertising device.

Fields

scan: Sconnect: C

Implementations

Creates a new filter policy from behaviors for scan and connect requests.

Parameters

  • scan: An AddressFilter governing which devices may scan this device.
  • connect: An AddressFilter governing which devices may connect to this device.

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.