[][src]Struct haproxy_api::Proxy

pub struct Proxy<'lua> {
    pub name: String,
    pub uuid: String,
    // some fields omitted
}

Fields

name: Stringuuid: String

Implementations

impl<'lua> Proxy<'lua>[src]

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

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

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

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

pub fn get_cap(&self) -> Result<ProxyCapability>[src]

pub fn get_mode(&self) -> Result<ProxyMode>[src]

pub fn servers(&self) -> Result<HashMap<String, Server>>[src]

Trait Implementations

impl<'lua> Clone for Proxy<'lua>[src]

impl<'lua> FromLua<'lua> for Proxy<'lua>[src]

Auto Trait Implementations

impl<'lua> !RefUnwindSafe for Proxy<'lua>

impl<'lua> !Send for Proxy<'lua>

impl<'lua> !Sync for Proxy<'lua>

impl<'lua> Unpin for Proxy<'lua>

impl<'lua> !UnwindSafe for Proxy<'lua>

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<'lua, T> FromLua<'lua> for T where
    T: 'static + UserData + Clone
[src]

impl<'lua, T> FromLuaMulti<'lua> for T where
    T: FromLua<'lua>, 
[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, 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.