pub(crate) enum Dyn {
Client,
Server,
}
Expand description
A dynamic representation of Peer
.
This is used internally to avoid incurring a generic on all internal types.
Variants§
Implementations§
Trait Implementations§
impl Copy for Dyn
impl Eq for Dyn
impl StructuralPartialEq for Dyn
Auto Trait Implementations§
impl Freeze for Dyn
impl RefUnwindSafe for Dyn
impl Send for Dyn
impl Sync for Dyn
impl Unpin for Dyn
impl UnwindSafe for Dyn
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.