pub struct SharedBuffer { /* private fields */ }
Implementations§
pub fn new(capacity: usize, on_inactive: OnInactive) -> Arc<Self>
pub fn new_container_buffer( self: &Arc<Self>, identity: Arc<ComponentIdentity>, stats: Arc<LogStreamStats>, ) -> ContainerBuffer
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