[][src]Enum fastcgi_client::Address

pub enum Address<'a> {
    Tcp(&'a stru16),
    UnixSock(&'a str),
}

Fastcgi server address.

Variants

Tcp(&'a stru16)

Tcp connection info.

  • 0 host.
  • 1 port.
UnixSock(&'a str)

Unix socket info.

  • 0 path of unix-sock file.

Trait Implementations

impl<'a> Debug for Address<'a>[src]

Auto Trait Implementations

impl<'a> Send for Address<'a>

impl<'a> Unpin for Address<'a>

impl<'a> Sync for Address<'a>

impl<'a> UnwindSafe for Address<'a>

impl<'a> RefUnwindSafe for Address<'a>

Blanket Implementations

impl<T> From<T> 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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