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§
impl Freeze for AllocContext
impl RefUnwindSafe for AllocContext
impl Unpin for AllocContext
impl UnwindSafe for AllocContext
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