Enum smoltcp::socket::dns::GetQueryResultError
source · pub enum GetQueryResultError {
Pending,
Failed,
}
Expand description
Error returned by Socket::get_query_result
Variants§
Trait Implementations§
source§impl Clone for GetQueryResultError
impl Clone for GetQueryResultError
source§fn clone(&self) -> GetQueryResultError
fn clone(&self) -> GetQueryResultError
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 GetQueryResultError
impl Debug for GetQueryResultError
source§impl Display for GetQueryResultError
impl Display for GetQueryResultError
source§impl Error for GetQueryResultError
impl Error for GetQueryResultError
1.30.0 · 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()
source§impl PartialEq for GetQueryResultError
impl PartialEq for GetQueryResultError
source§fn eq(&self, other: &GetQueryResultError) -> bool
fn eq(&self, other: &GetQueryResultError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GetQueryResultError
impl Eq for GetQueryResultError
impl StructuralEq for GetQueryResultError
impl StructuralPartialEq for GetQueryResultError
Auto Trait Implementations§
impl RefUnwindSafe for GetQueryResultError
impl Send for GetQueryResultError
impl Sync for GetQueryResultError
impl Unpin for GetQueryResultError
impl UnwindSafe for GetQueryResultError
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