pub struct CborMapper<const DET: bool>;Trait Implementations§
Source§impl<const DET: bool> Clone for CborMapper<DET>
impl<const DET: bool> Clone for CborMapper<DET>
Source§fn clone(&self) -> CborMapper<DET>
fn clone(&self) -> CborMapper<DET>
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 LosslessMapper for CborMapper<true>
impl LosslessMapper for CborMapper<true>
Source§proof fn lemma_lossless_mapper(&self, wire: Self::In)
proof fn lemma_lossless_mapper(&self, wire: Self::In)
Source§proof fn lemma_mapper_wf_in_out(&self, wire: Self::In)
proof fn lemma_mapper_wf_in_out(&self, wire: Self::In)
Source§impl<const DET: bool> LossyMapper for CborMapper<DET>
impl<const DET: bool> LossyMapper for CborMapper<DET>
Source§proof fn lemma_sound_mapper(&self, value: Self::Out)
proof fn lemma_sound_mapper(&self, value: Self::Out)
Source§proof fn lemma_mapper_wf_out_in(&self, value: Self::Out)
proof fn lemma_mapper_wf_out_in(&self, value: Self::Out)
Source§impl<const DET: bool> SpecMapper for CborMapper<DET>
impl<const DET: bool> SpecMapper for CborMapper<DET>
Source§open spec fn spec_map_rev(&self, value: Self::Out) -> Self::In
open spec fn spec_map_rev(&self, value: Self::Out) -> Self::In
{ encode_cbor_value(value) }Source§type In = (CborHead, Sum<(), Sum<(), Sum<Seq<u8>, Sum<(Seq<Seq<u8>>, u8), Sum<Seq<char>, Sum<(Seq<Seq<char>>, u8), Sum<Seq<CborValueSpec>, Sum<(Seq<CborValueSpec>, u8), Sum<Seq<(CborValueSpec, CborValueSpec)>, Sum<(Seq<(CborValueSpec, CborValueSpec)>, u8), Sum<CborValueSpec, Sum<(), ExecNever>>>>>>>>>>>>)
type In = (CborHead, Sum<(), Sum<(), Sum<Seq<u8>, Sum<(Seq<Seq<u8>>, u8), Sum<Seq<char>, Sum<(Seq<Seq<char>>, u8), Sum<Seq<CborValueSpec>, Sum<(Seq<CborValueSpec>, u8), Sum<Seq<(CborValueSpec, CborValueSpec)>, Sum<(Seq<(CborValueSpec, CborValueSpec)>, u8), Sum<CborValueSpec, Sum<(), ExecNever>>>>>>>>>>>>)
The input type.
Source§type Out = CborValueSpec
type Out = CborValueSpec
The output type.
impl<const DET: bool> Copy for CborMapper<DET>
Auto Trait Implementations§
impl<const DET: bool> Freeze for CborMapper<DET>
impl<const DET: bool> RefUnwindSafe for CborMapper<DET>
impl<const DET: bool> Send for CborMapper<DET>
impl<const DET: bool> Sync for CborMapper<DET>
impl<const DET: bool> Unpin for CborMapper<DET>
impl<const DET: bool> UnsafeUnpin for CborMapper<DET>
impl<const DET: bool> UnwindSafe for CborMapper<DET>
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