Enum MulticastError
pub enum MulticastError {
Unaddressable,
TooManyGroups,
}Expand description
Error type for [Iface::join_multicast_group] and [Iface::leave_multicast_group].
Variants§
Unaddressable
Cannot join/leave the given multicast group.
TooManyGroups
The group table is full. Only possible without the alloc feature, where
the limit is MULTICAST_GROUP_COUNT.
Trait Implementations§
§impl Clone for MulticastError
impl Clone for MulticastError
§fn clone(&self) -> MulticastError
fn clone(&self) -> MulticastError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MulticastError
§impl Debug for MulticastError
impl Debug for MulticastError
§impl Display for MulticastError
impl Display for MulticastError
impl Eq for MulticastError
§impl Error for MulticastError
impl Error for MulticastError
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()
§impl Format for MulticastError
impl Format for MulticastError
§impl PartialEq for MulticastError
impl PartialEq for MulticastError
impl StructuralPartialEq for MulticastError
Auto Trait Implementations§
impl Freeze for MulticastError
impl RefUnwindSafe for MulticastError
impl Send for MulticastError
impl Sync for MulticastError
impl Unpin for MulticastError
impl UnsafeUnpin for MulticastError
impl UnwindSafe for MulticastError
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