[−][src]Struct melib::backends::imap::mailbox::ImapMailbox
Fields
hash: MailboxHash
imap_path: String
path: String
name: String
parent: Option<MailboxHash>
children: Vec<MailboxHash>
separator: u8
usage: Arc<RwLock<SpecialUsageMailbox>>
select: Arc<RwLock<Option<SelectResponse>>>
no_select: bool
is_subscribed: bool
permissions: 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]
fn hash(&self) -> MailboxHash
[src]
fn name(&self) -> &str
[src]
fn path(&self) -> &str
[src]
fn change_name(&mut self, s: &str)
[src]
fn children(&self) -> &[MailboxHash]
[src]
fn clone(&self) -> Mailbox
[src]
fn special_usage(&self) -> SpecialUsageMailbox
[src]
fn parent(&self) -> Option<MailboxHash>
[src]
fn permissions(&self) -> MailboxPermissions
[src]
fn is_subscribed(&self) -> bool
[src]
fn set_is_subscribed(&mut self, new_val: bool) -> Result<()>
[src]
fn set_special_usage(&mut self, new_val: SpecialUsageMailbox) -> Result<()>
[src]
fn count(&self) -> Result<(usize, usize)>
[src]
impl Clone for ImapMailbox
[src]
fn clone(&self) -> ImapMailbox
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ImapMailbox
[src]
impl Default for ImapMailbox
[src]
fn default() -> 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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,