Struct libstrophe::AllocContext
source · pub struct AllocContext { /* private fields */ }
Expand description
Internal Context
that only specifies allocation functions and uses null logger. Needed to not pass
Context
to e.g. Stanza
because it uses only allocation functions from Context
.
Implementations§
source§impl AllocContext
impl AllocContext
pub fn get_xmpp_mem_t() -> xmpp_mem_t
Trait Implementations§
source§impl Default for AllocContext
impl Default for AllocContext
impl Send for AllocContext
impl Sync for AllocContext
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more