[][src]Enum fxa_client::AccountEvent

pub enum AccountEvent {
    IncomingDeviceCommand(Box<IncomingDeviceCommand>),
    ProfileUpdated,
    AccountAuthStateChanged,
    AccountDestroyed,
    DeviceConnected {
        device_name: String,
    },
    DeviceDisconnected {
        device_id: String,
        is_local_device: bool,
    },
}

Variants

IncomingDeviceCommand(Box<IncomingDeviceCommand>)
ProfileUpdated
AccountAuthStateChanged
AccountDestroyed
DeviceConnected

Fields of DeviceConnected

device_name: String
DeviceDisconnected

Fields of DeviceDisconnected

device_id: Stringis_local_device: bool

Trait Implementations

impl Debug for AccountEvent[src]

impl From<AccountEvent> for AccountEvent[src]

impl IntoFfi for AccountEvent where
    AccountEvent: From<AccountEvent> + IntoFfi
[src]

type Value = <AccountEvent as IntoFfi>::Value

This type must be: Read more

impl Serialize for AccountEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for AccountEvent

impl Send for AccountEvent

impl Sync for AccountEvent

impl Unpin for AccountEvent

impl UnwindSafe for AccountEvent

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,