Skip to main content

FrameType

Enum FrameType 

Source
#[repr(u8)]
pub enum FrameType {
Show 14 variants Ack = 1, Nak = 2, Loss = 3, Timing = 4, Ring = 5, Path = 6, Link = 7, LossAcct = 8, Pmtu = 9, BwProbe = 10, Trace = 11, AvailBw = 12, Forecast = 13, Periodicity = 14,
}
Expand description

Frame type tags. Stable on the wire; append new variants, never renumber.

Variants§

§

Ack = 1

Cumulative ack frontier (receiver -> sender).

§

Nak = 2

Selective negative ack: a block and its missing-shard bitmap.

§

Loss = 3

Fused loss / burstiness / delay-trend readings (receiver -> sender).

§

Timing = 4

Sender clock beat plus the peer beat being echoed, for RTT and OWD.

§

Ring = 5

Source-ring shape telemetry (the legacy heartbeat payload).

§

Path = 6

The peer’s observed TTL / ECN / hop-count of THIS endpoint’s packets.

The peer’s link class and normalized quality.

§

LossAcct = 8

Highest peer sequence the sender of this frame has seen, for bidirectional (forward vs reverse) loss accounting.

§

Pmtu = 9

The peer’s observed path MTU.

§

BwProbe = 10

One member of an active bandwidth probe train (packet-pair / chirp).

§

Trace = 11

A mini-traceroute marker riding the control stream at a chosen TTL.

§

AvailBw = 12

The receiver’s WBest available-bandwidth estimate (reverse-reported so the sender can cross-check its passive BtlBw).

§

Forecast = 13

The receiver’s Sprout-style forecast of the next-tick deliverable rate (5th-percentile lower bound), so the sender pre-sizes ahead of a dip.

§

Periodicity = 14

The receiver’s detected LEO handover cadence and seconds-to-next-spike, so the sender pre-arms protection one cycle ahead of a periodic delay spike.

Trait Implementations§

Source§

impl Clone for FrameType

Source§

fn clone(&self) -> FrameType

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for FrameType

Source§

impl Debug for FrameType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for FrameType

Source§

impl PartialEq for FrameType

Source§

fn eq(&self, other: &FrameType) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for FrameType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.