pub enum P2pStreamEventKind {
Accepted,
Connected,
Data,
Closed,
Reset,
}Variants§
Trait Implementations§
Source§impl Clone for P2pStreamEventKind
impl Clone for P2pStreamEventKind
Source§fn clone(&self) -> P2pStreamEventKind
fn clone(&self) -> P2pStreamEventKind
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 P2pStreamEventKind
Source§impl Debug for P2pStreamEventKind
impl Debug for P2pStreamEventKind
impl Eq for P2pStreamEventKind
Source§impl PartialEq for P2pStreamEventKind
impl PartialEq for P2pStreamEventKind
Source§fn eq(&self, other: &P2pStreamEventKind) -> bool
fn eq(&self, other: &P2pStreamEventKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for P2pStreamEventKind
Auto Trait Implementations§
impl Freeze for P2pStreamEventKind
impl RefUnwindSafe for P2pStreamEventKind
impl Send for P2pStreamEventKind
impl Sync for P2pStreamEventKind
impl Unpin for P2pStreamEventKind
impl UnsafeUnpin for P2pStreamEventKind
impl UnwindSafe for P2pStreamEventKind
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