[][src]Enum rubble::security_manager::BondingType

pub enum BondingType {
    NoBonding,
    Bonding,
    Unknown(u8),
}

Whether to perform bonding in addition to pairing.

If Bonding is selected, the exchanged keys are permanently stored on both devices. This is usually what you want.

Variants

NoBonding

No bonding should be performed; the exchanged keys should not be permanently stored.

This is usually not what you want since it requires the user to perform pairing every time the devices connect again.

Bonding

Permanently store the exchanged keys to allow resuming encryption on future connections.

Unknown(u8)

Trait Implementations

impl Copy for BondingType[src]

impl Debug for BondingType[src]

impl From<u8> for BondingType[src]

impl From<BondingType> for u8[src]

impl Clone for BondingType[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for BondingType

impl Sync for BondingType

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]