Struct dove::conn::Connection[][src]

pub struct Connection<N: Network> { /* fields omitted */ }

Implementations

impl<N: Network> Connection<N>[src]

pub fn new(transport: Transport<N>) -> Connection<N>[src]

pub fn open(&mut self, open: Open) -> Result<()>[src]

pub fn begin(&mut self, channel: ChannelId, begin: Begin) -> Result<()>[src]

pub fn attach(&mut self, channel: ChannelId, attach: Attach) -> Result<()>[src]

pub fn flow(&mut self, channel: ChannelId, flow: Flow) -> Result<()>[src]

pub fn transfer(
    &mut self,
    channel: ChannelId,
    transfer: Transfer,
    payload: Option<Vec<u8>>
) -> Result<()>
[src]

pub fn disposition(
    &mut self,
    channel: ChannelId,
    disposition: Disposition
) -> Result<()>
[src]

pub fn keepalive(
    &mut self,
    remote_idle_timeout: Duration,
    now: Instant
) -> Result<Instant>
[src]

pub fn detach(&mut self, channel: ChannelId, detach: Detach) -> Result<()>[src]

pub fn end(&mut self, channel: ChannelId, end: End) -> Result<()>[src]

pub fn close(&mut self, close: Close) -> Result<()>[src]

pub fn shutdown(&mut self) -> Result<()>[src]

pub fn flush(&mut self) -> Result<()>[src]

pub fn transport(&mut self) -> &mut Transport<N>[src]

pub fn process(&mut self, frames: &mut Vec<Frame>) -> Result<()>[src]

Trait Implementations

impl<N: Debug + Network> Debug for Connection<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for Connection<N> where
    N: RefUnwindSafe
[src]

impl<N> Send for Connection<N> where
    N: Send
[src]

impl<N> Sync for Connection<N> where
    N: Sync
[src]

impl<N> Unpin for Connection<N> where
    N: Unpin
[src]

impl<N> UnwindSafe for Connection<N> where
    N: UnwindSafe
[src]

Blanket Implementations

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

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

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,