Enum stun_client::STUNClientError
source · pub enum STUNClientError {
ParseError(),
IOError(Error),
NotSupportedError(String),
TimeoutError(),
Unknown(String),
}
Expand description
Defines the error used by the stun_client library.
Variants§
Trait Implementations§
source§impl Clone for STUNClientError
impl Clone for STUNClientError
source§impl Debug for STUNClientError
impl Debug for STUNClientError
source§impl Display for STUNClientError
impl Display for STUNClientError
source§impl Error for STUNClientError
impl Error for STUNClientError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for STUNClientError
impl Send for STUNClientError
impl Sync for STUNClientError
impl Unpin for STUNClientError
impl !UnwindSafe for STUNClientError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more