pub enum MdnsError {
MessageTooShort,
InvalidLabel,
NameTooLong,
BufferTooSmall,
TooManyServices,
NameConflict,
CacheFull,
InvalidServiceType,
TxtTooLarge,
NotFound,
InvalidFormat,
}Expand description
Errors from mDNS operations
Variants§
MessageTooShort
Message too short to parse
InvalidLabel
Invalid label in domain name
NameTooLong
Name exceeds maximum length
BufferTooSmall
Buffer too small for serialization
TooManyServices
Service limit reached
NameConflict
Name conflict detected during probing
CacheFull
Cache is full
InvalidServiceType
Invalid service type format
TxtTooLarge
TXT record too large
NotFound
Record not found
InvalidFormat
Invalid message format
Trait Implementations§
impl Copy for MdnsError
impl Eq for MdnsError
impl StructuralPartialEq for MdnsError
Auto Trait Implementations§
impl Freeze for MdnsError
impl RefUnwindSafe for MdnsError
impl Send for MdnsError
impl Sync for MdnsError
impl Unpin for MdnsError
impl UnwindSafe for MdnsError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)