pub struct FrameReadRate {
pub timeout: Seconds,
pub max_timeout: Seconds,
pub rate: u32,
}Expand description
Minimum read rate required while decoding one frame.
Fields§
§timeout: SecondsInitial read timeout.
max_timeout: SecondsMaximum cumulative timeout for the frame.
rate: u32Byte-progress threshold that must be exceeded to extend the deadline.
Progress must be strictly greater than this value for another timeout
period to be granted.
Trait Implementations§
Source§impl Clone for FrameReadRate
impl Clone for FrameReadRate
Source§fn clone(&self) -> FrameReadRate
fn clone(&self) -> FrameReadRate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FrameReadRate
Auto Trait Implementations§
impl Freeze for FrameReadRate
impl RefUnwindSafe for FrameReadRate
impl Send for FrameReadRate
impl Sync for FrameReadRate
impl Unpin for FrameReadRate
impl UnsafeUnpin for FrameReadRate
impl UnwindSafe for FrameReadRate
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