pub enum EndpointCmd {
Send(RemoteEnvelope),
SendSystem(RemoteEnvelope),
ResendBuffer,
ApplyAck(AckInfo),
Shutdown(DisassociateReason),
}Expand description
Outbound commands accepted by the writer half.
Variants§
Send(RemoteEnvelope)
SendSystem(RemoteEnvelope)
ResendBuffer
Resend the buffered window after a reconnect.
ApplyAck(AckInfo)
Apply an inbound Ack to the send buffer.
Shutdown(DisassociateReason)
Drain and disassociate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EndpointCmd
impl RefUnwindSafe for EndpointCmd
impl Send for EndpointCmd
impl Sync for EndpointCmd
impl Unpin for EndpointCmd
impl UnsafeUnpin for EndpointCmd
impl UnwindSafe for EndpointCmd
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