pub enum DuplexRefusalCode {
Forbidden,
Unauthenticated,
TooManyCalls,
NotThisCall,
PastCredit,
TooMuchInput,
PersonRequired,
InputClosed,
OutOfSequence,
InvalidInput,
}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 ceiling a method opted into (too_much_input {limit, max},
limit items or bytes).
PersonRequired
A question that needs a person’s answer, answered by an agent.
InputClosed
A frame or an answer after the input half closed.
OutOfSequence
A frame out of sequence on a socket, which delivers in order: a broken
client (out_of_sequence {seq, expected}).
InvalidInput
An input item that does not decode as the method’s type
(invalid_input {seq}).