pub enum TransportRejectionReason {
FrameTooLarge {
complete_frame_bytes: u64,
max_frame_bytes: u64,
},
DecodeFailed {
decode_class: DecodeClass,
},
UnsupportedVersion {
presented_version: ProtocolVersion,
supported_version: ProtocolVersion,
},
AuthenticationFailed,
ParticipantCapabilityRequired,
EnrollmentNotPermitted,
EnrollmentConversationOutOfScope,
CredentialAttachConversationOutOfScope,
AccessRefused {
refusal: String,
},
}Expand description
Closed transport-rejection reason union.
Variants§
FrameTooLarge
Declared complete frame exceeds the current allocation bound.
Fields
DecodeFailed
Structural participant decoding failed.
Fields
decode_class: DecodeClassExact structural failure class.
UnsupportedVersion
Concrete participant version is unsupported.
Fields
presented_version: ProtocolVersionVersion found in the inner prefix.
supported_version: ProtocolVersionStored or server-supported expected version.
AuthenticationFailed
Connection authentication failed.
ParticipantCapabilityRequired
The connection did not negotiate participant capability.
The serialized required_capability value is always exactly
"participant-v1".
EnrollmentNotPermitted
Pass principal is not permitted to enroll.
EnrollmentConversationOutOfScope
Enrollment conversation is outside the pass scope.
CredentialAttachConversationOutOfScope
Credential attach conversation is outside the pass scope.
AccessRefused
The request was decided on its conversation’s subject and refused.
Carried by a connection admitted on a Lys pass: every participant
request is decided on the subject its conversation maps to, before any
effect, and a refusal names the subject and the action it lacked in
refusal, rendered as the access layer renders every refusal. A
conversation with no subject mapping is refused the same way, saying so.