pub struct GatewaySender { /* private fields */ }Expand description
Cloneable framed command writer.
Implementations§
Source§impl GatewaySender
impl GatewaySender
Sourcepub async fn send(&self, message: ClientMessage) -> Result<()>
pub async fn send(&self, message: ClientMessage) -> Result<()>
Sends one authenticated operation.
Trait Implementations§
Source§impl Clone for GatewaySender
impl Clone for GatewaySender
Source§fn clone(&self) -> GatewaySender
fn clone(&self) -> GatewaySender
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for GatewaySender
impl !UnwindSafe for GatewaySender
impl Freeze for GatewaySender
impl Send for GatewaySender
impl Sync for GatewaySender
impl Unpin for GatewaySender
impl UnsafeUnpin for GatewaySender
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more