pub struct BerLengthFmt;Expand description
BER length determinant accepting both definite and indefinite encodings.
Trait Implementations§
Source§impl ByteLen<BerLength> for BerLengthFmt
impl ByteLen<BerLength> for BerLengthFmt
Source§impl Clone for BerLengthFmt
impl Clone for BerLengthFmt
Source§fn clone(&self) -> BerLengthFmt
fn clone(&self) -> BerLengthFmt
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 Consistency for BerLengthFmt
impl Consistency for BerLengthFmt
Source§impl EquivSerializers for BerLengthFmt
impl EquivSerializers for BerLengthFmt
Source§impl EquivSerializersGeneral for BerLengthFmt
impl EquivSerializersGeneral for BerLengthFmt
Source§proof fn lemma_serialize_equiv(&self, v: Self::SVal, obuf: Seq<u8>)
proof fn lemma_serialize_equiv(&self, v: Self::SVal, obuf: Seq<u8>)
Source§fn equiv_general_inv(&self) -> bool
fn equiv_general_inv(&self) -> bool
Source§impl GoodSerializer for BerLengthFmt
impl GoodSerializer for BerLengthFmt
Source§proof fn lemma_serialize_len(&self, v: Self::SVal)
proof fn lemma_serialize_len(&self, v: Self::SVal)
Source§fn serialize_inv(&self) -> bool
fn serialize_inv(&self) -> bool
Source§impl NoLookAhead for BerLengthFmt
impl NoLookAhead for BerLengthFmt
Source§impl NonTailFmt for BerLengthFmt
impl NonTailFmt for BerLengthFmt
Source§proof fn lemma_serialize_dps_prepend(&self, v: Self::SValue, obuf: Seq<u8>)
proof fn lemma_serialize_dps_prepend(&self, v: Self::SValue, obuf: Seq<u8>)
Source§proof fn lemma_serialize_dps_len(&self, v: Self::SValue, obuf: Seq<u8>)
proof fn lemma_serialize_dps_len(&self, v: Self::SValue, obuf: Seq<u8>)
Source§fn serialize_dps_inv(&self) -> bool
fn serialize_dps_inv(&self) -> bool
Source§impl Parser<&[u8]> for BerLengthFmt
impl Parser<&[u8]> for BerLengthFmt
Source§impl Prepare<BerLength> for BerLengthFmt
impl Prepare<BerLength> for BerLengthFmt
Source§impl Productive for BerLengthFmt
impl Productive for BerLengthFmt
Source§proof fn lemma_productive(&self, ibuf: Seq<u8>)
proof fn lemma_productive(&self, ibuf: Seq<u8>)
Source§fn productive_inv(&self) -> bool
fn productive_inv(&self) -> bool
Source§impl SPRoundTripDps for BerLengthFmt
impl SPRoundTripDps for BerLengthFmt
Source§proof fn theorem_serialize_dps_parse_roundtrip(&self, v: Self::T, obuf: Seq<u8>)
proof fn theorem_serialize_dps_parse_roundtrip(&self, v: Self::T, obuf: Seq<u8>)
Source§fn unambiguous(&self) -> bool
fn unambiguous(&self) -> bool
Source§impl SafeParser for BerLengthFmt
impl SafeParser for BerLengthFmt
Source§impl<Output: OutputBuf> Serializer<Output, BerLength> for BerLengthFmt
impl<Output: OutputBuf> Serializer<Output, BerLength> for BerLengthFmt
Source§exec fn serialize_into(&self, v: &BerLength, obuf: &mut Output)
exec fn serialize_into(&self, v: &BerLength, obuf: &mut Output)
Source§impl SpecByteLen for BerLengthFmt
impl SpecByteLen for BerLengthFmt
Source§impl SpecParser for BerLengthFmt
impl SpecParser for BerLengthFmt
Source§impl SpecSerializer for BerLengthFmt
impl SpecSerializer for BerLengthFmt
Source§impl SpecSerializerDps for BerLengthFmt
impl SpecSerializerDps for BerLengthFmt
impl Copy for BerLengthFmt
Auto Trait Implementations§
impl Freeze for BerLengthFmt
impl RefUnwindSafe for BerLengthFmt
impl Send for BerLengthFmt
impl Sync for BerLengthFmt
impl Unpin for BerLengthFmt
impl UnsafeUnpin for BerLengthFmt
impl UnwindSafe for BerLengthFmt
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, VERUS_SPEC__A> FromSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: From<T>,
impl<T, VERUS_SPEC__A> FromSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: From<T>,
fn obeys_from_spec() -> bool
fn from_spec(v: T) -> VERUS_SPEC__A
§impl<T, VERUS_SPEC__A> IntoSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: Into<T>,
impl<T, VERUS_SPEC__A> IntoSpec<T> for VERUS_SPEC__Awhere
VERUS_SPEC__A: Into<T>,
fn obeys_into_spec() -> bool
fn into_spec(self) -> T
§impl<T, U> IntoSpecImpl<U> for Twhere
U: From<T>,
impl<T, U> IntoSpecImpl<U> for Twhere
U: From<T>,
fn obeys_into_spec() -> bool
fn into_spec(self) -> U
Source§impl<C> NonAmbiguous for Cwhere
C: SPRoundTrip,
impl<C> NonAmbiguous for Cwhere
C: SPRoundTrip,
Source§open spec fn nonamb_inv(&self) -> bool
open spec fn nonamb_inv(&self) -> bool
{ self.sp_roundtrip_inv() }Source§proof fn lemma_serialize_injective(
&self,
v1: <C as Consistency>::Val,
v2: <C as Consistency>::Val,
)
proof fn lemma_serialize_injective( &self, v1: <C as Consistency>::Val, v2: <C as Consistency>::Val, )
Source§impl<C> SPRoundTrip for C
impl<C> SPRoundTrip for C
Source§open spec fn sp_roundtrip_inv(&self) -> bool
open spec fn sp_roundtrip_inv(&self) -> bool
{ self.serialize_inv() && self.equiv_inv() && self.unambiguous() }