pub enum AssemblyPosture {
Total,
Checked {
refusal: CodecTypePath,
},
}Expand description
What the decode road does with the members once it has read them all.
Not an option and not a default: a total constructor and a checked one are called differently, and a rendering that guessed would either drop a refusal the owner declared or write a ? on a value that is not a Result.
Variants§
Total
The road is total: every member the decode road read is an argument, and there is nothing left to refuse.
Checked
The road is checked, and this is the refusal it answers with.
Fields
§
refusal: CodecTypePathThe refusal the assembly road answers with, carried into the rendered one by a conversion this home writes.
Trait Implementations§
Source§impl Clone for AssemblyPosture
impl Clone for AssemblyPosture
Source§fn clone(&self) -> AssemblyPosture
fn clone(&self) -> AssemblyPosture
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 moreSource§impl Debug for AssemblyPosture
impl Debug for AssemblyPosture
impl Eq for AssemblyPosture
Source§impl Hash for AssemblyPosture
impl Hash for AssemblyPosture
Source§impl PartialEq for AssemblyPosture
impl PartialEq for AssemblyPosture
impl StructuralPartialEq for AssemblyPosture
Auto Trait Implementations§
impl Freeze for AssemblyPosture
impl RefUnwindSafe for AssemblyPosture
impl Send for AssemblyPosture
impl Sync for AssemblyPosture
impl Unpin for AssemblyPosture
impl UnsafeUnpin for AssemblyPosture
impl UnwindSafe for AssemblyPosture
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