[][src]Struct gophermap::GopherMenu

pub struct GopherMenu<W> where
    W: Write
{ /* fields omitted */ }

Methods

impl<'a, W> GopherMenu<&'a W> where
    &'a W: Write
[src]

pub fn with_write(target: &'a W) -> Self[src]

pub fn info(&self, text: &str) -> Result<()>[src]

pub fn write_entry(
    &self,
    item_type: ItemType,
    text: &str,
    selector: &str,
    host: &str,
    port: u16
) -> Result<()>
[src]

pub fn end(&mut self) -> Result<()>[src]

Auto Trait Implementations

impl<W> Send for GopherMenu<W> where
    W: Send

impl<W> Sync for GopherMenu<W> where
    W: Sync

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.