[][src]Struct x11rb::cookie::ListFontsWithInfoCookie

pub struct ListFontsWithInfoCookie<'a, C: RequestConnection + ?Sized>(_);

A handle to the replies to a ListFontsWithInfo request.

ListFontsWithInfo generated more than one reply, but Cookie only allows getting one reply. This structure implements Iterator and allows to get all the replies.

Implementations

impl<'_, C: ?Sized> ListFontsWithInfoCookie<'_, C> where
    C: RequestConnection
[src]

pub fn sequence_number(&self) -> Option<SequenceNumber>[src]

Get the sequence number of the request that generated this cookie.

Trait Implementations

impl<'a, C: Debug + RequestConnection + ?Sized> Debug for ListFontsWithInfoCookie<'a, C>[src]

impl<'_, C: ?Sized> Iterator for ListFontsWithInfoCookie<'_, C> where
    C: RequestConnection
[src]

type Item = Result<ListFontsWithInfoReply, ReplyError>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, C: ?Sized> RefUnwindSafe for ListFontsWithInfoCookie<'a, C> where
    C: RefUnwindSafe

impl<'a, C: ?Sized> Send for ListFontsWithInfoCookie<'a, C> where
    C: Sync

impl<'a, C: ?Sized> Sync for ListFontsWithInfoCookie<'a, C> where
    C: Sync

impl<'a, C: ?Sized> Unpin for ListFontsWithInfoCookie<'a, C>

impl<'a, C: ?Sized> UnwindSafe for ListFontsWithInfoCookie<'a, C> where
    C: RefUnwindSafe

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.