pub struct EventPoolFactory;Expand description
Convenience factory - provides typed access to specific pools
Implementations§
Source§impl EventPoolFactory
impl EventPoolFactory
pub fn get_xs_writer() -> Writer<64, XS_CAPACITY>
pub fn get_s_writer() -> Writer<256, S_CAPACITY>
pub fn get_m_writer() -> Writer<1024, M_CAPACITY>
pub fn get_l_writer() -> Writer<4096, L_CAPACITY>
pub fn get_xl_writer() -> Writer<16384, XL_CAPACITY>
pub fn get_xs_reader() -> Reader<64, XS_CAPACITY> ⓘ
pub fn get_s_reader() -> Reader<256, S_CAPACITY> ⓘ
pub fn get_m_reader() -> Reader<1024, M_CAPACITY> ⓘ
pub fn get_l_reader() -> Reader<4096, L_CAPACITY> ⓘ
pub fn get_xl_reader() -> Reader<16384, XL_CAPACITY> ⓘ
pub fn estimate_size(data_len: usize) -> EventSize
pub fn estimate_pool_id(data_len: usize) -> Option<PoolId>
Auto Trait Implementations§
impl Freeze for EventPoolFactory
impl RefUnwindSafe for EventPoolFactory
impl Send for EventPoolFactory
impl Sync for EventPoolFactory
impl Unpin for EventPoolFactory
impl UnsafeUnpin for EventPoolFactory
impl UnwindSafe for EventPoolFactory
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