pub enum ServiceBuilderError {
MissingAdvertisementAddr,
RecordTooLong,
}Available on crate feature
broadcast only.Expand description
An error occurred while building a Service
Variants§
MissingAdvertisementAddr
The broadcaster requires at least one advertisement address
RecordTooLong
The TXT record is too long (max 255 bytes)
Trait Implementations§
Source§impl Debug for ServiceBuilderError
impl Debug for ServiceBuilderError
Source§impl Display for ServiceBuilderError
impl Display for ServiceBuilderError
Source§impl Error for ServiceBuilderError
impl Error for ServiceBuilderError
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 ServiceBuilderError
impl RefUnwindSafe for ServiceBuilderError
impl Send for ServiceBuilderError
impl Sync for ServiceBuilderError
impl Unpin for ServiceBuilderError
impl UnsafeUnpin for ServiceBuilderError
impl UnwindSafe for ServiceBuilderError
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