pub struct ConnectionConversationCapacityCommit { /* private fields */ }Expand description
Atomic successful result of semantic connection-capacity admission.
Implementations§
Source§impl ConnectionConversationCapacityCommit
impl ConnectionConversationCapacityCommit
Sourcepub const fn resulting(self) -> CapacityCounter
pub const fn resulting(self) -> CapacityCounter
Returns the complete post-operation connection occupancy.
Sourcepub const fn newly_tracked(self) -> bool
pub const fn newly_tracked(self) -> bool
Returns whether the operation must install a new conversation slot.
Trait Implementations§
Source§impl Clone for ConnectionConversationCapacityCommit
impl Clone for ConnectionConversationCapacityCommit
Source§fn clone(&self) -> ConnectionConversationCapacityCommit
fn clone(&self) -> ConnectionConversationCapacityCommit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConnectionConversationCapacityCommit
impl Eq for ConnectionConversationCapacityCommit
impl StructuralPartialEq for ConnectionConversationCapacityCommit
Auto Trait Implementations§
impl Freeze for ConnectionConversationCapacityCommit
impl RefUnwindSafe for ConnectionConversationCapacityCommit
impl Send for ConnectionConversationCapacityCommit
impl Sync for ConnectionConversationCapacityCommit
impl Unpin for ConnectionConversationCapacityCommit
impl UnsafeUnpin for ConnectionConversationCapacityCommit
impl UnwindSafe for ConnectionConversationCapacityCommit
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