pub struct StanzaSender(/* private fields */);Expand description
Send half of the StanzaStream
Implementations§
Source§impl StanzaSender
impl StanzaSender
Sourcepub async fn send(&self, stanza: Box<Stanza>) -> StanzaToken
pub async fn send(&self, stanza: Box<Stanza>) -> StanzaToken
Send a stanza via the stream.
See the documentation of StanzaStream::send().
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StanzaSender
impl !RefUnwindSafe for StanzaSender
impl Send for StanzaSender
impl Sync for StanzaSender
impl Unpin for StanzaSender
impl !UnwindSafe for StanzaSender
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