pub enum SimpleMdnsError {
UdpSocketError(Error),
DnsParsing(SimpleDnsError),
ServiceDiscoveryStopped,
}
Expand description
Error types for simple-mdns
Variants§
UdpSocketError(Error)
Udp socket related error
DnsParsing(SimpleDnsError)
Simple-dns error related, usually packet parsing
ServiceDiscoveryStopped
Service discovery is no longer running
Trait Implementations§
Source§impl Debug for SimpleMdnsError
impl Debug for SimpleMdnsError
Source§impl Display for SimpleMdnsError
impl Display for SimpleMdnsError
Source§impl Error for SimpleMdnsError
impl Error for SimpleMdnsError
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 From<Error> for SimpleMdnsError
impl From<Error> for SimpleMdnsError
Source§impl From<SimpleDnsError> for SimpleMdnsError
impl From<SimpleDnsError> for SimpleMdnsError
Source§fn from(v: SimpleDnsError) -> Self
fn from(v: SimpleDnsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SimpleMdnsError
impl !RefUnwindSafe for SimpleMdnsError
impl Send for SimpleMdnsError
impl Sync for SimpleMdnsError
impl Unpin for SimpleMdnsError
impl !UnwindSafe for SimpleMdnsError
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