Enum radius::core::avp::AVPError [−][src]
pub enum AVPError { UserPasswordPlainTextMaximumLengthExceededError(usize), PasswordSecretMissingError(), InvalidRequestAuthenticatorLength(), InvalidAttributeLengthError(String, usize), TagMissingError(), DecodingError(String), InvalidSaltMSBError(u8), InvalidTagForStringValueError(), InvalidTagForIntegerValueError(), }
Variants
UserPasswordPlainTextMaximumLengthExceededError(usize)
This error is raised on the length of given plain text for user-password exceeds the maximum limit.
This error is raised when the given secret value for a password is empty.
This error is raised when the given request-authenticator for the password doesn’t have 16 bytes length exactly.
This error is raised when attribute length is conflicted with the expected.
This error is raised when the tagged-value doesn’t have a tag byte.
DecodingError(String)
This error represents AVP decoding error.
InvalidSaltMSBError(u8)
This error is raised when the MSB of salt is invalid.
This error is raised when a tag is invalid for the tagged-staring value.
This error is raised when a tag is invalid for the tagged-integer value.
Trait Implementations
impl Error for AVPError
[src]
impl Error for AVPError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]use the Display impl or to_string()
impl StructuralPartialEq for AVPError
[src]
Auto Trait Implementations
impl RefUnwindSafe for AVPError
impl Send for AVPError
impl Sync for AVPError
impl Unpin for AVPError
impl UnwindSafe for AVPError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,