pub enum Latency {
None,
Positive(MicroSeconds),
Negative(MicroSeconds),
}
Expand description
Result type for Stream::get_latency()
.
Variants§
None
No latency.
Positive(MicroSeconds)
A positive (greater than zero) amount of latency.
Negative(MicroSeconds)
A negative (less than zero) amount of latency.
Trait Implementations§
impl Copy for Latency
impl Eq for Latency
impl StructuralPartialEq for Latency
Auto Trait Implementations§
impl Freeze for Latency
impl RefUnwindSafe for Latency
impl Send for Latency
impl Sync for Latency
impl Unpin for Latency
impl UnwindSafe for Latency
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