pub enum AddResult {
Added,
KeptExisting,
Replaced,
}Expand description
Result of adding a connection to the set
Variants§
Added
New connection was added
KeptExisting
Existing connection was kept (new was rejected as duplicate)
Replaced
New connection replaced existing
Trait Implementations§
impl Copy for AddResult
impl Eq for AddResult
impl StructuralPartialEq for AddResult
Auto Trait Implementations§
impl Freeze for AddResult
impl RefUnwindSafe for AddResult
impl Send for AddResult
impl Sync for AddResult
impl Unpin for AddResult
impl UnsafeUnpin for AddResult
impl UnwindSafe for AddResult
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