[][src]Enum meli::components::mail::view::MailViewState

enum MailViewState {
    Init {
        pending_action: Option<PendingReplyAction>,
    },
    LoadingBody {
        handle: JoinHandle<Result<Vec<u8>>>,
        pending_action: Option<PendingReplyAction>,
    },
    Error {
        err: MeliError,
    },
    Loaded {
        bytes: Vec<u8>,
        body: Attachment,
        display: Vec<AttachmentDisplay>,
        body_text: String,
        links: Vec<Link>,
    },
}

Variants

Init

Fields of Init

pending_action: Option<PendingReplyAction>
LoadingBody

Fields of LoadingBody

handle: JoinHandle<Result<Vec<u8>>>pending_action: Option<PendingReplyAction>
Error

Fields of Error

err: MeliError
Loaded

Fields of Loaded

bytes: Vec<u8>body: Attachmentdisplay: Vec<AttachmentDisplay>body_text: Stringlinks: Vec<Link>

Trait Implementations

impl Debug for MailViewState[src]

impl Default for MailViewState[src]

Auto Trait Implementations

impl !RefUnwindSafe for MailViewState

impl Send for MailViewState

impl Sync for MailViewState

impl Unpin for MailViewState

impl !UnwindSafe for MailViewState

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

impl<T> WithSubscriber for T[src]