pub enum GetReply<'a> {
Held(HeldStamp),
Page(Envelope<'a>),
Other(Envelope<'a>),
}Expand description
What a state GET’s reply carries (read_get_reply).
Variants§
Held(HeldStamp)
A held stamp: a snapshot’s envelope with no byte after its seq, and
tag 0. Whether it answers the GET that drew it is §4.2’s: its reader
compares it with the one that GET carried
(crate::seed::Asked::read).
Page(Envelope<'a>)
A snapshot’s page: form 7 with a byte or more after its seq, its
tag its collection’s type’s and its body
crate::collection::Page::read’s, unread here.
Other(Envelope<'a>)
Another form a put carries: a per-key resource’s reply, the bytes its mutation put, whatever its length.
Trait Implementations§
impl<'a> Copy for GetReply<'a>
impl<'a> Eq for GetReply<'a>
impl<'a> StructuralPartialEq for GetReply<'a>
Auto Trait Implementations§
impl<'a> Forget for GetReply<'a>
impl<'a> Freeze for GetReply<'a>
impl<'a> Move for GetReply<'a>
impl<'a> RefUnwindSafe for GetReply<'a>
impl<'a> Send for GetReply<'a>
impl<'a> Sync for GetReply<'a>
impl<'a> Unpin for GetReply<'a>
impl<'a> UnsafeUnpin for GetReply<'a>where
&'a [u8]: UnsafeUnpin,
impl<'a> UnwindSafe for GetReply<'a>where
&'a [u8]: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more