pub enum RegisterChannelError {
SocketDropped,
DuplicateTopic,
}
Expand description
Errors that can be encountered during channel registration.
Variants§
SocketDropped
The socket responsible has been dropped.
DuplicateTopic
The topic has already been registered.
Trait Implementations§
Source§impl Debug for RegisterChannelError
impl Debug for RegisterChannelError
Source§impl Display for RegisterChannelError
impl Display for RegisterChannelError
Source§impl Error for RegisterChannelError
impl Error for RegisterChannelError
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 Hash for RegisterChannelError
impl Hash for RegisterChannelError
Source§impl PartialEq for RegisterChannelError
impl PartialEq for RegisterChannelError
impl Eq for RegisterChannelError
impl StructuralPartialEq for RegisterChannelError
Auto Trait Implementations§
impl Freeze for RegisterChannelError
impl RefUnwindSafe for RegisterChannelError
impl Send for RegisterChannelError
impl Sync for RegisterChannelError
impl Unpin for RegisterChannelError
impl UnwindSafe for RegisterChannelError
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