pub enum ReceiverAlgorithmAction {
TimeBoundedReceive(Instant),
SendControl(ControlPacket, SocketAddr),
OutputData((Instant, Bytes)),
Close,
}Variants§
TimeBoundedReceive(Instant)
SendControl(ControlPacket, SocketAddr)
OutputData((Instant, Bytes))
Close
Trait Implementations§
Source§impl Clone for ReceiverAlgorithmAction
impl Clone for ReceiverAlgorithmAction
Source§fn clone(&self) -> ReceiverAlgorithmAction
fn clone(&self) -> ReceiverAlgorithmAction
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 ReceiverAlgorithmAction
impl RefUnwindSafe for ReceiverAlgorithmAction
impl Send for ReceiverAlgorithmAction
impl Sync for ReceiverAlgorithmAction
impl Unpin for ReceiverAlgorithmAction
impl UnsafeUnpin for ReceiverAlgorithmAction
impl UnwindSafe for ReceiverAlgorithmAction
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