pub enum BrowseError {
InvalidString,
InternalInvalidString,
ServiceError(i32),
IoError(Error),
Timeout,
}Expand description
Common error for DNS-SD service
Variants§
InvalidString
Invalid input string
InternalInvalidString
Unexpected invalid strings from C API
ServiceError(i32)
Error from DNSSD service
IoError(Error)
IO error
Timeout
Timeout error when waiting for more data from browser
Trait Implementations§
Source§impl Debug for BrowseError
impl Debug for BrowseError
Source§impl Display for BrowseError
impl Display for BrowseError
Source§impl Error for BrowseError
impl Error for BrowseError
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 BrowseError
impl !RefUnwindSafe for BrowseError
impl Send for BrowseError
impl Sync for BrowseError
impl Unpin for BrowseError
impl !UnwindSafe for BrowseError
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