pub struct MaildirPath(/* private fields */);Expand description
Logical mailbox-hierarchy path, always /-separated regardless of
the on-disk layout.
The empty path designates the store root itself (which is INBOX in
Maildir++). A crate::store::MaildirStore turns this into a
concrete FsPath under its layout: fs nested (“Foo/Bar” →
<root>/Foo/Bar) or Maildir++ flat-dotted (“Foo/Bar” →
<root>/.Foo.Bar).
Implementations§
Trait Implementations§
Source§impl AsRef<str> for MaildirPath
impl AsRef<str> for MaildirPath
Source§impl Clone for MaildirPath
impl Clone for MaildirPath
Source§fn clone(&self) -> MaildirPath
fn clone(&self) -> MaildirPath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MaildirPath
impl Debug for MaildirPath
Source§impl Default for MaildirPath
impl Default for MaildirPath
Source§fn default() -> MaildirPath
fn default() -> MaildirPath
Returns the “default value” for a type. Read more
Source§impl Display for MaildirPath
impl Display for MaildirPath
impl Eq for MaildirPath
Source§impl From<&str> for MaildirPath
impl From<&str> for MaildirPath
Source§impl From<String> for MaildirPath
impl From<String> for MaildirPath
Source§impl Hash for MaildirPath
impl Hash for MaildirPath
Source§impl Ord for MaildirPath
impl Ord for MaildirPath
Source§fn cmp(&self, other: &MaildirPath) -> Ordering
fn cmp(&self, other: &MaildirPath) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MaildirPath
impl PartialEq for MaildirPath
Source§fn eq(&self, other: &MaildirPath) -> bool
fn eq(&self, other: &MaildirPath) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MaildirPath
impl PartialOrd for MaildirPath
impl StructuralPartialEq for MaildirPath
Auto Trait Implementations§
impl Freeze for MaildirPath
impl RefUnwindSafe for MaildirPath
impl Send for MaildirPath
impl Sync for MaildirPath
impl Unpin for MaildirPath
impl UnsafeUnpin for MaildirPath
impl UnwindSafe for MaildirPath
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more