[−][src]Enum onc_rpc::AuthError
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
impl AuthError
[src]
pub fn serialise_into(&self, buf: &mut Cursor<Vec<u8>>) -> Result<(), Error>
[src]
Serialises this AuthError
into buf
, advancing the cursor position by
serialised_len
bytes.
pub fn serialised_len(&self) -> u32
[src]
Returns the on-wire length of this reply body once serialised.
Trait Implementations
impl Debug for AuthError
[src]
impl PartialEq<AuthError> for AuthError
[src]
pub fn eq(&self, other: &AuthError) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for AuthError
[src]
impl TryFrom<Bytes> for AuthError
[src]
Auto Trait Implementations
impl RefUnwindSafe for AuthError
[src]
impl Send for AuthError
[src]
impl Sync for AuthError
[src]
impl Unpin for AuthError
[src]
impl UnwindSafe for AuthError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,