pub enum AnyFetchEndOfRange {
NonExistent,
Unknown,
TimedOut,
}Expand description
What an End of Range indicator asserts about the Locations it covers.
Drafts 16-20 let a fetch stream state that a run of Objects was not serialized instead of sending them: one frame names the Location that ends the run, and every Location from the previously serialized Object up to and including that one is covered. The indicators are the same frame shape with different claims behind it, and a subscriber may cache the first as a settled gap while it must not cache the others, so they are carried apart rather than merged.
Never produced on drafts 07-15, which have no such frame.
Variants§
NonExistent
The covered Objects do not exist.
Unknown
The covered Objects’ status is unknown to the publisher.
TimedOut
The covered Objects timed out: the relay abandoned them when its
FILL_TIMEOUT budget ran out.
Draft-20 and later only. Drafts 16 through 19 have two indicators
and report the same Objects as Self::Unknown, so this variant is
never produced on them — which makes its presence a fact about the
stream’s draft as much as about the frame, and is why a receiver cannot
treat the two as interchangeable.
Trait Implementations§
Source§impl Clone for AnyFetchEndOfRange
impl Clone for AnyFetchEndOfRange
Source§fn clone(&self) -> AnyFetchEndOfRange
fn clone(&self) -> AnyFetchEndOfRange
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more