pub struct UnsupportedAddress(SocketAddr);
Expand description
Tried to use a general::SocketAddr
that tor-rtcompat
didn’t understand.
Tuple Fields§
§0: SocketAddr
Trait Implementations§
Source§impl Clone for UnsupportedAddress
impl Clone for UnsupportedAddress
Source§fn clone(&self) -> UnsupportedAddress
fn clone(&self) -> UnsupportedAddress
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UnsupportedAddress
impl Debug for UnsupportedAddress
Source§impl Display for UnsupportedAddress
impl Display for UnsupportedAddress
Source§impl Error for UnsupportedAddress
impl Error for UnsupportedAddress
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 Freeze for UnsupportedAddress
impl RefUnwindSafe for UnsupportedAddress
impl Send for UnsupportedAddress
impl Sync for UnsupportedAddress
impl Unpin for UnsupportedAddress
impl UnwindSafe for UnsupportedAddress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<E> ErrorReport for Ewhere
E: Error + 'static,
impl<E> ErrorReport for Ewhere
E: Error + 'static,
Source§fn report(&self) -> Report<ReportHelper<'_>>
fn report(&self) -> Report<ReportHelper<'_>>
Return an object that displays the error and its causes