pub enum InboundConcurrency {
Serve,
Reject,
}Expand description
What to do when the peer breaks the one-outstanding-CALL rule.
1.6J §4.1.1 words it as SHOULD NOT, 2.x Part 4 §4.1.1 as SHALL NOT. Field stations
break it either way, and dropping their calls is usually worse than serving them.
Variants§
Serve
Answer the extra call normally. The default, and the only workable choice on 1.6.
Reject
Answer the extra call with CALLERROR: ProtocolError.
Trait Implementations§
Source§impl Clone for InboundConcurrency
impl Clone for InboundConcurrency
Source§fn clone(&self) -> InboundConcurrency
fn clone(&self) -> InboundConcurrency
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 InboundConcurrency
Source§impl Debug for InboundConcurrency
impl Debug for InboundConcurrency
Source§impl Default for InboundConcurrency
impl Default for InboundConcurrency
Source§fn default() -> InboundConcurrency
fn default() -> InboundConcurrency
Returns the “default value” for a type. Read more
impl Eq for InboundConcurrency
Source§impl PartialEq for InboundConcurrency
impl PartialEq for InboundConcurrency
impl StructuralPartialEq for InboundConcurrency
Auto Trait Implementations§
impl Freeze for InboundConcurrency
impl RefUnwindSafe for InboundConcurrency
impl Send for InboundConcurrency
impl Sync for InboundConcurrency
impl Unpin for InboundConcurrency
impl UnsafeUnpin for InboundConcurrency
impl UnwindSafe for InboundConcurrency
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