pub enum DiscoveryEndpointError {
WrongPort {
expected: u16,
actual: u16,
},
Loopback,
NonLocal,
UdpRequiresIpv6,
UdpRequiresIpv6LinkLocal,
MissingIpv6Scope,
UnexpectedIpv6Scope,
Ipv6FlowInfo,
}Variants§
WrongPort
Loopback
NonLocal
UdpRequiresIpv6
UdpRequiresIpv6LinkLocal
MissingIpv6Scope
UnexpectedIpv6Scope
Ipv6FlowInfo
Trait Implementations§
Source§impl Clone for DiscoveryEndpointError
impl Clone for DiscoveryEndpointError
Source§fn clone(&self) -> DiscoveryEndpointError
fn clone(&self) -> DiscoveryEndpointError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiscoveryEndpointError
Source§impl Debug for DiscoveryEndpointError
impl Debug for DiscoveryEndpointError
Source§impl Display for DiscoveryEndpointError
impl Display for DiscoveryEndpointError
impl Eq for DiscoveryEndpointError
Source§impl Error for DiscoveryEndpointError
Available on crate feature std only.
impl Error for DiscoveryEndpointError
Available on crate feature
std only.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()
Source§impl PartialEq for DiscoveryEndpointError
impl PartialEq for DiscoveryEndpointError
impl StructuralPartialEq for DiscoveryEndpointError
Auto Trait Implementations§
impl Freeze for DiscoveryEndpointError
impl RefUnwindSafe for DiscoveryEndpointError
impl Send for DiscoveryEndpointError
impl Sync for DiscoveryEndpointError
impl Unpin for DiscoveryEndpointError
impl UnsafeUnpin for DiscoveryEndpointError
impl UnwindSafe for DiscoveryEndpointError
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