pub enum FieldFidelity {
Lossless,
CanonicalServerOutput(&'static str),
SemanticProjection(&'static str),
OpaquePreserved,
}Expand description
Whether all semantic wire fields survive typed decoding and re-encoding.
Variants§
Lossless
Every accepted semantic field is represented; reserved/padding bytes are validated rather than exposed.
CanonicalServerOutput(&'static str)
A server-only producer omits or fills the named fields. Decoding may project other values, so this is not an exact decode/re-encode guarantee.
SemanticProjection(&'static str)
Typed decoding is intentionally projected onto the named runtime data.
OpaquePreserved
The uninterpreted bounded body is retained exactly.
Trait Implementations§
Source§impl Clone for FieldFidelity
impl Clone for FieldFidelity
Source§fn clone(&self) -> FieldFidelity
fn clone(&self) -> FieldFidelity
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 FieldFidelity
Source§impl Debug for FieldFidelity
impl Debug for FieldFidelity
impl Eq for FieldFidelity
Source§impl Hash for FieldFidelity
impl Hash for FieldFidelity
Source§impl PartialEq for FieldFidelity
impl PartialEq for FieldFidelity
impl StructuralPartialEq for FieldFidelity
Auto Trait Implementations§
impl Freeze for FieldFidelity
impl RefUnwindSafe for FieldFidelity
impl Send for FieldFidelity
impl Sync for FieldFidelity
impl Unpin for FieldFidelity
impl UnsafeUnpin for FieldFidelity
impl UnwindSafe for FieldFidelity
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