[][src]Struct melib::backends::notmuch::thread::Thread

pub struct Thread<'query> {
    pub lib: Arc<Library>,
    pub ptr: *mut notmuch_thread_t,
    pub _ph: PhantomData<*const Query<'query>>,
}

Fields

lib: Arc<Library>ptr: *mut notmuch_thread_t_ph: PhantomData<*const Query<'query>>

Implementations

impl<'q> Thread<'q>[src]

pub fn id(&self) -> ThreadHash[src]

pub fn date(&self) -> UnixTimestamp[src]

pub fn len(&self) -> usize[src]

pub fn iter(&'q self) -> MessageIterator<'q>

Notable traits for MessageIterator<'q>

impl<'q> Iterator for MessageIterator<'q> type Item = Message<'q>;
[src]

Trait Implementations

impl<'_> Drop for Thread<'_>[src]

Auto Trait Implementations

impl<'query> RefUnwindSafe for Thread<'query>

impl<'query> !Send for Thread<'query>

impl<'query> !Sync for Thread<'query>

impl<'query> Unpin for Thread<'query>

impl<'query> UnwindSafe for Thread<'query>

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]