Struct archivist_lib::logs::budget::BudgetManager
source · pub struct BudgetManager { /* private fields */ }
Implementations§
source§impl BudgetManager
impl BudgetManager
pub fn new( capacity: usize, remover: UnboundedSender<Arc<ComponentIdentity>> ) -> Self
pub fn add_container(&self, container: Arc<LogsArtifactsContainer>)
pub fn handle(&self) -> BudgetHandle
Trait Implementations§
source§impl Clone for BudgetManager
impl Clone for BudgetManager
source§fn clone(&self) -> BudgetManager
fn clone(&self) -> BudgetManager
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BudgetManager
impl !RefUnwindSafe for BudgetManager
impl Send for BudgetManager
impl Sync for BudgetManager
impl Unpin for BudgetManager
impl !UnwindSafe for BudgetManager
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