[][src]Struct melib::backends::imap::mailbox::ImapMailbox

pub struct ImapMailbox {
    pub hash: MailboxHash,
    pub imap_path: String,
    pub path: String,
    pub name: String,
    pub parent: Option<MailboxHash>,
    pub children: Vec<MailboxHash>,
    pub separator: u8,
    pub usage: Arc<RwLock<SpecialUsageMailbox>>,
    pub select: Arc<RwLock<Option<SelectResponse>>>,
    pub no_select: bool,
    pub is_subscribed: bool,
    pub permissions: Arc<Mutex<MailboxPermissions>>,
    pub exists: Arc<Mutex<LazyCountSet>>,
    pub unseen: Arc<Mutex<LazyCountSet>>,
    pub warm: Arc<Mutex<bool>>,
}

Fields

hash: MailboxHashimap_path: Stringpath: Stringname: Stringparent: Option<MailboxHash>children: Vec<MailboxHash>separator: u8usage: Arc<RwLock<SpecialUsageMailbox>>select: Arc<RwLock<Option<SelectResponse>>>no_select: boolis_subscribed: boolpermissions: Arc<Mutex<MailboxPermissions>>exists: Arc<Mutex<LazyCountSet>>unseen: Arc<Mutex<LazyCountSet>>warm: Arc<Mutex<bool>>

Implementations

impl ImapMailbox[src]

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

pub fn set_warm(&self, new_value: bool)[src]

Establish that mailbox contents have been fetched at least once during this execution

pub fn is_warm(&self) -> bool[src]

Mailbox contents have been fetched at least once during this execution

pub fn is_cold(&self) -> bool[src]

Mailbox contents have not been fetched at all during this execution

Trait Implementations

impl BackendMailbox for ImapMailbox[src]

impl Clone for ImapMailbox[src]

impl Debug for ImapMailbox[src]

impl Default for ImapMailbox[src]

Auto Trait Implementations

impl RefUnwindSafe for ImapMailbox

impl Send for ImapMailbox

impl Sync for ImapMailbox

impl Unpin for ImapMailbox

impl UnwindSafe for ImapMailbox

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]