pub enum DuplexRefusalCode {
Forbidden,
Unauthenticated,
TooManyCalls,
NotThisCall,
PastCredit,
TooMuchInput,
PersonRequired,
InputClosed,
}Expand description
BIDIR-8: every typed refusal the gate makes over a duplex call — its
error_kind on the wire, and the reason of its audit record
(AuditRecordKind::DuplexRefused).
Variants§
Forbidden
The grant gate refused: at open, at a re-verify, or an answer by grant.
Unauthenticated
No one proved, a sign-in ended (signed out, revoked) or expired.
TooManyCalls
The connection’s calls are all open (too_many_calls {max}).
NotThisCall
A frame or an answer from a connection that is not the call’s.
PastCredit
An input item past the credit granted (past_credit {seq, credit}).
TooMuchInput
Past the call’s ceiling of items or bytes (too_much_input {limit, max}).
PersonRequired
A question that needs a person’s answer, answered by an agent.
InputClosed
A frame or an answer after the input half closed.
Implementations§
Trait Implementations§
Source§impl Clone for DuplexRefusalCode
impl Clone for DuplexRefusalCode
impl Copy for DuplexRefusalCode
Source§impl Debug for DuplexRefusalCode
impl Debug for DuplexRefusalCode
Source§impl<'de> Deserialize<'de> for DuplexRefusalCode
impl<'de> Deserialize<'de> for DuplexRefusalCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DuplexRefusalCode
Source§impl Hash for DuplexRefusalCode
impl Hash for DuplexRefusalCode
Source§impl PartialEq for DuplexRefusalCode
impl PartialEq for DuplexRefusalCode
Source§impl Serialize for DuplexRefusalCode
impl Serialize for DuplexRefusalCode
impl StructuralPartialEq for DuplexRefusalCode
Auto Trait Implementations§
impl Freeze for DuplexRefusalCode
impl RefUnwindSafe for DuplexRefusalCode
impl Send for DuplexRefusalCode
impl Sync for DuplexRefusalCode
impl Unpin for DuplexRefusalCode
impl UnsafeUnpin for DuplexRefusalCode
impl UnwindSafe for DuplexRefusalCode
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