pub struct BulkheadRegistry(/* private fields */);
Expand description
A structure for tracking multiple bulkheads for different resources.
This type can be safely cloned and sent across threads while maintaining the correct number of allowed concurrent calls in each resource’s corresponding bulkhead.
Implementations§
Trait Implementations§
Source§impl Clone for BulkheadRegistry
impl Clone for BulkheadRegistry
Source§fn clone(&self) -> BulkheadRegistry
fn clone(&self) -> BulkheadRegistry
Returns a duplicate 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 moreSource§impl Debug for BulkheadRegistry
impl Debug for BulkheadRegistry
Auto Trait Implementations§
impl Freeze for BulkheadRegistry
impl RefUnwindSafe for BulkheadRegistry
impl Send for BulkheadRegistry
impl Sync for BulkheadRegistry
impl Unpin for BulkheadRegistry
impl UnwindSafe for BulkheadRegistry
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