pub enum ServiceTypeError {
Invalid(String),
}Expand description
Error parsing a DNS-SD service type string.
Variants§
Trait Implementations§
Source§impl Debug for ServiceTypeError
impl Debug for ServiceTypeError
Source§impl Display for ServiceTypeError
impl Display for ServiceTypeError
Source§impl Error for ServiceTypeError
impl Error for ServiceTypeError
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 ServiceTypeError
impl RefUnwindSafe for ServiceTypeError
impl Send for ServiceTypeError
impl Sync for ServiceTypeError
impl Unpin for ServiceTypeError
impl UnsafeUnpin for ServiceTypeError
impl UnwindSafe for ServiceTypeError
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