[−][src]Struct dove::conn::Connection
Fields
hostname: String
Implementations
impl Connection
[src]
pub fn new(hostname: &str, transport: Transport) -> Connection
[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]
&mut self,
channel: ChannelId,
transfer: Transfer,
payload: Option<Vec<u8>>
) -> Result<()>
pub fn disposition(
&mut self,
channel: ChannelId,
disposition: Disposition
) -> Result<()>
[src]
&mut self,
channel: ChannelId,
disposition: Disposition
) -> Result<()>
pub fn keepalive(
&mut self,
remote_idle_timeout: Duration,
now: Instant
) -> Result<Instant>
[src]
&mut self,
remote_idle_timeout: Duration,
now: Instant
) -> Result<Instant>
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 process(&mut self, frames: &mut Vec<Frame>) -> Result<()>
[src]
Trait Implementations
impl Debug for Connection
[src]
impl Source for Connection
[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,
pub 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, 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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,