[−][src]Struct haproxy_api::Txn
Fields
c: Converters<'lua>
f: Fetches<'lua>
Implementations
impl<'lua> Txn<'lua>
[src]
pub fn http(&self) -> Result<Http>
[src]
pub fn log(&self, level: LogLevel, msg: &str) -> Result<()>
[src]
pub fn deflog(&self, msg: &str) -> Result<()>
[src]
pub fn get_priv<R: FromLua<'lua>>(&self) -> Result<R>
[src]
pub fn set_priv<A: ToLua<'lua>>(&self, val: A) -> Result<()>
[src]
pub fn get_var<R: FromLua<'lua>>(&self, name: &str) -> Result<R>
[src]
pub fn set_var<A: ToLua<'lua>>(&self, name: &str, val: A) -> Result<()>
[src]
pub fn unset_var(&self, name: &str) -> Result<()>
[src]
pub fn set_loglevel(&self, level: LogLevel) -> Result<()>
[src]
Trait Implementations
Auto Trait Implementations
impl<'lua> !RefUnwindSafe for Txn<'lua>
impl<'lua> !Send for Txn<'lua>
impl<'lua> !Sync for Txn<'lua>
impl<'lua> Unpin for Txn<'lua>
impl<'lua> !UnwindSafe for Txn<'lua>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<'lua, T> FromLua<'lua> for T where
T: 'static + UserData + Clone,
[src]
T: 'static + UserData + Clone,
impl<'lua, T> FromLuaMulti<'lua> for T where
T: FromLua<'lua>,
[src]
T: FromLua<'lua>,
fn from_lua_multi(values: MultiValue<'lua>, lua: &'lua Lua) -> Result<T, Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,