pub struct ConnectorClientSender { /* private fields */ }Implementations§
Source§impl ConnectorClientSender
impl ConnectorClientSender
Sourcepub async fn send_frame(&self, frame: ConnectorFrame) -> Result<()>
pub async fn send_frame(&self, frame: ConnectorFrame) -> Result<()>
TODO(clawdentity): document send_frame.
Sourcepub fn is_connected(&self) -> bool
pub fn is_connected(&self) -> bool
TODO(clawdentity): document is_connected.
Sourcepub fn metrics_snapshot(&self) -> ConnectorClientMetricsSnapshot
pub fn metrics_snapshot(&self) -> ConnectorClientMetricsSnapshot
TODO(clawdentity): document metrics_snapshot.
Trait Implementations§
Source§impl Clone for ConnectorClientSender
impl Clone for ConnectorClientSender
Source§fn clone(&self) -> ConnectorClientSender
fn clone(&self) -> ConnectorClientSender
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for ConnectorClientSender
impl RefUnwindSafe for ConnectorClientSender
impl Send for ConnectorClientSender
impl Sync for ConnectorClientSender
impl Unpin for ConnectorClientSender
impl UnsafeUnpin for ConnectorClientSender
impl UnwindSafe for ConnectorClientSender
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