pub struct ProbeRequest {
pub cluster: u32,
pub bits_per_second: f64,
pub octets: usize,
}Expand description
A probe cluster the congestion controller asks for.
Carried as an Attribute::Custom on an empty RTCP packet on the read leg
(ProbeRequest::into_packet), from the congestion controller towards the application:
the pacer and the NACK responder read it on its way past.
Fields§
§cluster: u32Which cluster this is; the packets sent for it carry the same number.
bits_per_second: f64The rate the cluster leaves at, bits per second.
octets: usizeHow much the cluster holds, octets on the wire.
Implementations§
Source§impl ProbeRequest
impl ProbeRequest
Sourcepub fn into_packet(self, now: Instant) -> TaggedPacket
pub fn into_packet(self, now: Instant) -> TaggedPacket
The packet that carries this application-ward from where it is read at now.
Trait Implementations§
Source§impl Clone for ProbeRequest
impl Clone for ProbeRequest
impl Copy for ProbeRequest
Source§impl Debug for ProbeRequest
impl Debug for ProbeRequest
Source§impl PartialEq for ProbeRequest
impl PartialEq for ProbeRequest
impl StructuralPartialEq for ProbeRequest
Auto Trait Implementations§
impl Forget for ProbeRequest
impl Freeze for ProbeRequest
impl Move for ProbeRequest
impl RefUnwindSafe for ProbeRequest
impl Send for ProbeRequest
impl Sync for ProbeRequest
impl Unpin for ProbeRequest
impl UnsafeUnpin for ProbeRequest
impl UnwindSafe for ProbeRequest
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