[][src]Struct lib3h::transport_wss::WssInfo

pub struct WssInfo<T: Read + Write + Debug> { /* fields omitted */ }

Represents an individual connection

Methods

impl<T: Read + Write + Debug> WssInfo<T>[src]

pub fn close(&mut self) -> TransportResult<()>[src]

pub fn new(id: ConnectionId, url: Url, socket: T, is_server: bool) -> Self[src]

pub fn client(id: ConnectionId, url: Url, socket: T) -> Self[src]

pub fn server(id: ConnectionId, url: Url, socket: T) -> Self[src]

Trait Implementations

impl<T: Debug + Read + Write> Debug for WssInfo<T>[src]

Auto Trait Implementations

impl<T> Send for WssInfo<T> where
    T: Send

impl<T> Unpin for WssInfo<T> where
    T: Unpin

impl<T> Sync for WssInfo<T> where
    T: Sync

impl<T> !UnwindSafe for WssInfo<T>

impl<T> !RefUnwindSafe for WssInfo<T>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self