pub struct SessionTransport {
pub tx: UnboundedSender<Envelope>,
}Expand description
A transport that the Session uses to send + receive envelopes.
Fields§
§tx: UnboundedSender<Envelope>Implementations§
Trait Implementations§
Source§impl Clone for SessionTransport
impl Clone for SessionTransport
Source§fn clone(&self) -> SessionTransport
fn clone(&self) -> SessionTransport
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 Freeze for SessionTransport
impl RefUnwindSafe for SessionTransport
impl Send for SessionTransport
impl Sync for SessionTransport
impl Unpin for SessionTransport
impl UnsafeUnpin for SessionTransport
impl UnwindSafe for SessionTransport
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