[][src]Enum brokaw::types::command::List

pub enum List {
    Active {
        wildmat: Option<String>,
    },
    ActiveTimes {
        wildmat: Option<String>,
    },
    Newsgroups {
        wildmat: Option<String>,
    },
    DistribPats,
    OverviewFmt,
}

Retrieve a list of information from the server

Not all LIST keywords are supported by all servers.

Usage Note

If you want to send LIST without any keywords simply send List::Active as they are equivalent.

Variants

Active

Return a list of active newsgroups

RFC 3977 7.6.3

Fields of Active

wildmat: Option<String>
ActiveTimes

Return information about when news groups were created

RFC 3977 7.6.4

Fields of ActiveTimes

wildmat: Option<String>
Newsgroups

List descriptions of newsgroups available on the server

RFC 3977 7.6.6

Fields of Newsgroups

wildmat: Option<String>
DistribPats

Retrieve information about the Distribution header for news articles

RFC 3977 7.6.5

OverviewFmt

Return field descriptors for headers returned by OVER/XOVER

RFC 3977 8.4

Trait Implementations

impl Clone for List[src]

impl Debug for List[src]

impl Display for List[src]

impl NntpCommand for List[src]

Auto Trait Implementations

impl RefUnwindSafe for List

impl Send for List

impl Sync for List

impl Unpin for List

impl UnwindSafe for List

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.