Struct holochain_types::header::WireHeaderStatus
source · [−]pub struct WireHeaderStatus<W> {
pub header: W,
pub validation_status: ValidationStatus,
}
Expand description
A header of one of the two types that create a new entry.
Fields
header: W
Skinny header for sending over the wire.
validation_status: ValidationStatus
Validation status of this header.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<H, W, E> TryFrom<(H, ValidationStatus)> for WireHeaderStatus<W> where
E: Into<HeaderError>,
H: TryInto<W, Error = E>,
impl<H, W, E> TryFrom<(H, ValidationStatus)> for WireHeaderStatus<W> where
E: Into<HeaderError>,
H: TryInto<W, Error = E>,
type Error = HeaderError
type Error = HeaderError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl<W> RefUnwindSafe for WireHeaderStatus<W> where
W: RefUnwindSafe,
impl<W> Send for WireHeaderStatus<W> where
W: Send,
impl<W> Sync for WireHeaderStatus<W> where
W: Sync,
impl<W> Unpin for WireHeaderStatus<W> where
W: Unpin,
impl<W> UnwindSafe for WireHeaderStatus<W> where
W: UnwindSafe,
Blanket Implementations
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 Read more
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more