[−][src]Struct samotop_core::model::io::Connection
Implementations
impl Connection
[src]
pub fn new<L, P>(local: L, peer: P) -> Connection where
L: Into<Option<SocketAddr>>,
P: Into<Option<SocketAddr>>,
[src]
L: Into<Option<SocketAddr>>,
P: Into<Option<SocketAddr>>,
pub fn local_addr(&self) -> Option<SocketAddr>
[src]
pub fn peer_addr(&self) -> Option<SocketAddr>
[src]
pub fn age(&self) -> Duration
[src]
pub fn extensions(&self) -> &ExtensionSet
[src]
pub fn extensions_mut(&mut self) -> &mut ExtensionSet
[src]
Trait Implementations
impl Clone for Connection
[src]
fn clone(&self) -> Connection
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Connection
[src]
impl Default for Connection
[src]
fn default() -> Connection
[src]
impl Display for Connection
[src]
impl Eq for Connection
[src]
impl PartialEq<Connection> for Connection
[src]
fn eq(&self, other: &Connection) -> bool
[src]
fn ne(&self, other: &Connection) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,