pub struct Following {
pub first: Box<RawValue>,
/* private fields */
}Expand description
A follow a store took: the first head it sent, and the connection every later frame arrives on.
Fields§
§first: Box<RawValue>The bytes the store sent for the first head’s result.
Implementations§
Source§impl Following
impl Following
Sourcepub fn next_frame(&mut self) -> Result<Reply, Ended>
pub fn next_frame(&mut self) -> Result<Reply, Ended>
The store’s next frame of the follow: a head, or the refusal that
ends it. The store sends a frame only when the head moves, so the
read waits as long as that takes, bounded by the pass’s expiry and
timeout past it: the store ends every follow at that expiry, so a
read still waiting then means a store that stopped answering. With no
expiry known the read is unbounded.
§Errors
Ended as the client names it when no frame could be read.
Auto Trait Implementations§
impl Freeze for Following
impl RefUnwindSafe for Following
impl Send for Following
impl Sync for Following
impl Unpin for Following
impl UnsafeUnpin for Following
impl UnwindSafe for Following
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.