Struct haproxy_api::Proxy [−][src]
pub struct Proxy<'lua> {
pub name: String,
pub uuid: String,
pub stktable: Option<StickTable<'lua>>,
// some fields omitted
}
Expand description
The “Proxy” class provides a way for manipulating proxy and retrieving information like statistics.
Fields
name: String
uuid: String
stktable: Option<StickTable<'lua>>
Implementations
Pauses the proxy. See the management socket documentation for more information.
Resumes the proxy. See the management socket documentation for more information.
Stops the proxy. See the management socket documentation for more information.
Kills the session attached to a backup server. See the management socket documentation for more information.
Returns a enum describing the capabilities of the proxy.
Returns a enum describing the mode of the current proxy.
Returns a table containing the proxy statistics. The statistics returned are not the same if the proxy is frontend or a backend.
Trait Implementations
Auto Trait Implementations
impl<'lua> !RefUnwindSafe for Proxy<'lua>
impl<'lua> !UnwindSafe for Proxy<'lua>
Blanket Implementations
Mutably borrows from an owned value. Read more
Performs the conversion. Read more