pub struct LocalSession { /* private fields */ }Implementations§
Trait Implementations§
Source§impl TransportSession for LocalSession
impl TransportSession for LocalSession
fn session_id(&self) -> SessionId
fn send(&mut self, packet: Packet) -> Result<SendReceipt, RtError>
fn recv(&mut self) -> Result<Option<Packet>, RtError>
fn tick_retransmit( &mut self, _now: Timestamp, _timeout: RtDuration, ) -> Result<usize, RtError>
fn close(&mut self) -> Result<(), RtError>
Auto Trait Implementations§
impl Freeze for LocalSession
impl RefUnwindSafe for LocalSession
impl Send for LocalSession
impl Sync for LocalSession
impl Unpin for LocalSession
impl UnsafeUnpin for LocalSession
impl UnwindSafe for LocalSession
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