Enum radius_rust::protocol::error::RadiusError [−][src]
Represents all errors generated by this library
Variants
Error happens, when Radius Packet fails validation
Fields of ValidationError
error: String
Error happens, when packet has been badly constructed or got corrupted
Fields of MalformedPacket
error: String
Error happens, when attribute has been badly constructed or got corrupted
Fields of MalformedAttribute
error: String
Error happens, when IPv6 Address was badly added to Radius Packet or got corrupted
Fields of MalformedIpAddr
error: String
SocketConnectionError(Error)
Error happens, when there is some sort of connection error between sockets, or socket cannot bind to the given hostname/port
Error won't happen, but represents the case when socket gets message from unknwon source
Fields of SocketInvalidConnection
error: String
SocketAddrParseError(AddrParseError)
Error happens, when socket cannot parse given hostname/port
Error happens, when dictionary file cannot be parsed
Fields of MalformedDictionary
error: Error
Error happens, when wrong RADIUS Code is supplied
Fields of UnsupportedTypeCode
error: String
Error happens, when MutexClient cannot acquire the lock on socket_poll
Fields of MutexLockFailure
error: String
Trait Implementations
impl Debug for RadiusError
[src]
impl Display for RadiusError
[src]
impl Error for RadiusError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<AddrParseError> for RadiusError
[src]
fn from(source: AddrParseError) -> Self
[src]
impl From<Error> for RadiusError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RadiusError
[src]
impl Send for RadiusError
[src]
impl Sync for RadiusError
[src]
impl Unpin for RadiusError
[src]
impl !UnwindSafe for RadiusError
[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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,