Enum panorama::mail::event::MailEvent[][src]

#[non_exhaustive]pub enum MailEvent {
    FolderList(StringVec<String>),
    MessageUids(StringVec<u32>),
    UpdateUid(Stringu32Vec<AttributeValue>),
    NewUid(Stringu32),
}

Possible events returned from the server that should be sent to the UI

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FolderList(StringVec<String>)

Got the list of folders

MessageUids(StringVec<u32>)

A list of the UIDs in the current mail view

UpdateUid(Stringu32Vec<AttributeValue>)

Update the given UID with the given attribute list

NewUid(Stringu32)

New message came in with given UID

Implementations

impl MailEvent[src]

pub fn acct_name(&self) -> &str[src]

Retrieves the account name that this event is associated with

Trait Implementations

impl Debug for MailEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for MailEvent[src]

impl Send for MailEvent[src]

impl Sync for MailEvent[src]

impl Unpin for MailEvent[src]

impl UnwindSafe for MailEvent[src]

Blanket Implementations

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

impl<Id> AsId<Id> for Id where
    Id: ?Sized
[src]

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

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

impl<'_, T> Captures<'_> for T[src]

impl<T> Conv for T

impl<T> Conv for T

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices

type Remainder = Choices

impl<T> Downcast for T where
    T: Any

impl<T> DowncastArc for T where
    T: Downcast + Send + Sync
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> FmtForward for T

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

impl<D, T> FromPtr<D> for T[src]

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

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<Source> Sculptor<HNil, HNil> for Source

type Remainder = Source

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

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>,