#[non_exhaustive]pub struct UnreadableReply {
pub origin: String,
pub producer: String,
pub unreadable: UnreadableSlice,
}Expand description
One introspect reply that arrived and could not be read (#491) —
the pole beside a ServedSlice and no reply at all.
Kept, never dropped: RFC 08 §6 (v1.44) says a consumer that cannot read what a reply declares “reports that producer’s slice as unreadable and names the encoding”, and does not let it pass for one that serves no slice (RFC 13 §3 O4). Before this, the sweep logged the failure and returned nothing, and every reader above it drew “no introspect reply”.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.origin: StringThe origin that answered, attributed as ServedSlice::origin is.
producer: StringThe producer the reply key names — its producer chunk on a host, the
service name on a service origin, spelled as the roster spells its
token. There is no slice to take a name from; "?" when the reply
key did not parse under this base.
unreadable: UnreadableSliceWhat it declared and why it did not read.
Trait Implementations§
Source§impl Clone for UnreadableReply
impl Clone for UnreadableReply
Auto Trait Implementations§
impl Freeze for UnreadableReply
impl RefUnwindSafe for UnreadableReply
impl Send for UnreadableReply
impl Sync for UnreadableReply
impl Unpin for UnreadableReply
impl UnsafeUnpin for UnreadableReply
impl UnwindSafe for UnreadableReply
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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<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> 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> ⓘ
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> ⓘ
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