pub enum FetchEndOfRange {
NonExistent,
Unknown,
}Expand description
What an End of Range indicator on a fetch stream asserts about the Locations it covers, from draft-19 Section 11.4.4.2.
Both kinds say that every Object with a Location between the previous serialized Object and this one, inclusive, was not serialized. They differ in why: the publisher knows the Objects are not there, or it does not know either way. A subscriber can cache the first as a definitive gap and must not cache the second, so the two cannot be collapsed.
Variants§
NonExistent
Serialization Flags 0x8C. The Objects in the range do not exist.
Unknown
Serialization Flags 0x10C. The Objects in the range have unknown status.
Trait Implementations§
Source§impl Clone for FetchEndOfRange
impl Clone for FetchEndOfRange
Source§fn clone(&self) -> FetchEndOfRange
fn clone(&self) -> FetchEndOfRange
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 FetchEndOfRange
Source§impl Debug for FetchEndOfRange
impl Debug for FetchEndOfRange
impl Eq for FetchEndOfRange
Source§impl PartialEq for FetchEndOfRange
impl PartialEq for FetchEndOfRange
impl StructuralPartialEq for FetchEndOfRange
Auto Trait Implementations§
impl Freeze for FetchEndOfRange
impl RefUnwindSafe for FetchEndOfRange
impl Send for FetchEndOfRange
impl Sync for FetchEndOfRange
impl Unpin for FetchEndOfRange
impl UnsafeUnpin for FetchEndOfRange
impl UnwindSafe for FetchEndOfRange
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