Enum onc_rpc::AuthError [−][src]
pub enum AuthError { Success, BadCredentials, RejectedCredentials, BadVerifier, RejectedVerifier, TooWeak, InvalidResponseVerifier, Failed, }
Expand description
AuthError
describes the reason the request authentication credentials were
rejected.
Variants
This is AUTH_OK
in the spec.
The credentials were rejected.
This is AUTH_BADCRED
in the spec.
The session has been invalidated.
This typically occurs if using
AUTH_SHORT
and the opaque
identifier has been revoked on the server side.
This is AUTH_REJECTEDCRED
in the spec.
The verifier was not acceptable.
This is AUTH_BADVERF
in the spec.
The verifier was rejected/expired.
This is AUTH_REJECTEDVERF
in the spec.
The authentication scheme was rejected for security reasons.
This is AUTH_TOOWEAK
in the spec.
The response verifier is invalid.
This is AUTH_INVALIDRESP
in the spec.
An unknown failure occured.
This is AUTH_FAILED
in the spec.
Implementations
Serialises this AuthError
into buf
, advancing the cursor position by
serialised_len
bytes.
Returns the on-wire length of this reply body once serialised.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthError
impl UnwindSafe for AuthError