pub enum PacerAction {
SendNow,
WaitUntil(Instant),
Idle,
}Available on crate feature
transport only.Expand description
Action the pacer recommends.
Variants§
SendNow
Send a frame now.
WaitUntil(Instant)
Wait until the specified instant before sending.
Idle
No action needed (nothing to send).
Trait Implementations§
Source§impl Clone for PacerAction
impl Clone for PacerAction
Source§fn clone(&self) -> PacerAction
fn clone(&self) -> PacerAction
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 moreSource§impl Debug for PacerAction
impl Debug for PacerAction
Source§impl PartialEq for PacerAction
impl PartialEq for PacerAction
impl Copy for PacerAction
impl Eq for PacerAction
impl StructuralPartialEq for PacerAction
Auto Trait Implementations§
impl Freeze for PacerAction
impl RefUnwindSafe for PacerAction
impl Send for PacerAction
impl Sync for PacerAction
impl Unpin for PacerAction
impl UnwindSafe for PacerAction
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