pub struct P2ppSession {
pub session_id: u8,
pub port: u8,
pub status: u8,
pub error_code: u8,
}Expand description
One P2PPSession entry from P2PPStatus.
Fields§
§session_id: u8§port: u8§status: u8§error_code: u8Trait Implementations§
Source§impl Clone for P2ppSession
impl Clone for P2ppSession
Source§fn clone(&self) -> P2ppSession
fn clone(&self) -> P2ppSession
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for P2ppSession
impl RefUnwindSafe for P2ppSession
impl Send for P2ppSession
impl Sync for P2ppSession
impl Unpin for P2ppSession
impl UnsafeUnpin for P2ppSession
impl UnwindSafe for P2ppSession
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