#[repr(u16)]pub enum ClosureScope {
Capacity = 1,
RecoveryFence = 2,
DeliveredMarkerAwaitingAck = 3,
EpisodeChurnLimit = 4,
}Expand description
Marker-closure refusal scope.
Variants§
Capacity = 1
Entry or byte capacity.
RecoveryFence = 2
Detached recovery fence.
DeliveredMarkerAwaitingAck = 3
Delivered marker still awaits acknowledgement.
EpisodeChurnLimit = 4
Debt-episode churn limit.
Implementations§
Source§impl ClosureScope
impl ClosureScope
Sourcepub const fn wire_value(self) -> u16
pub const fn wire_value(self) -> u16
Returns the stable v1 wire value.
Trait Implementations§
Source§impl Clone for ClosureScope
impl Clone for ClosureScope
Source§fn clone(&self) -> ClosureScope
fn clone(&self) -> ClosureScope
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 ClosureScope
Source§impl Debug for ClosureScope
impl Debug for ClosureScope
impl Eq for ClosureScope
Source§impl From<ClosureScope> for u16
impl From<ClosureScope> for u16
Source§fn from(value: ClosureScope) -> Self
fn from(value: ClosureScope) -> Self
Converts to this type from the input type.
Source§impl Hash for ClosureScope
impl Hash for ClosureScope
Source§impl PartialEq for ClosureScope
impl PartialEq for ClosureScope
impl StructuralPartialEq for ClosureScope
Auto Trait Implementations§
impl Freeze for ClosureScope
impl RefUnwindSafe for ClosureScope
impl Send for ClosureScope
impl Sync for ClosureScope
impl Unpin for ClosureScope
impl UnsafeUnpin for ClosureScope
impl UnwindSafe for ClosureScope
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