Struct connect::ConnectionHandle [−][src]
pub struct ConnectionHandle(_);
A handle to the Connection
used to write some bytes on Connection
's stream.
Methods
impl ConnectionHandle
[src]
impl ConnectionHandle
pub fn write(&self, bytes: Bytes) -> Result<()>
[src]
pub fn write(&self, bytes: Bytes) -> Result<()>
Asynchronously write bytes on Connection
's stream.
Trait Implementations
impl Debug for ConnectionHandle
[src]
impl Debug for ConnectionHandle
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ConnectionHandle
[src]
impl Clone for ConnectionHandle
fn clone(&self) -> ConnectionHandle
[src]
fn clone(&self) -> ConnectionHandle
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for ConnectionHandle
[src]
impl Default for ConnectionHandle
fn default() -> ConnectionHandle
[src]
fn default() -> ConnectionHandle
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ConnectionHandle
impl Send for ConnectionHandle
impl Sync for ConnectionHandle
impl Sync for ConnectionHandle