pub struct BerBitStringRecBody;Trait Implementations§
Source§impl<'i> ParserRecBody<&'i [u8]> for BerBitStringRecBody
Available on crate feature alloc only.
impl<'i> ParserRecBody<&'i [u8]> for BerBitStringRecBody
Available on crate feature
alloc only.Source§exec fn parse_body<Exec>(
&self,
expected: &Tag,
Ghost(spec_rec): Ghost<ParamRecSpecs<Tag, BitStringSpec>>,
exec_rec: Exec,
ibuf: &&'i [u8],
) -> PResult<BitStringOwned>
exec fn parse_body<Exec>( &self, expected: &Tag, Ghost(spec_rec): Ghost<ParamRecSpecs<Tag, BitStringSpec>>, exec_rec: Exec, ibuf: &&'i [u8], ) -> PResult<BitStringOwned>
type EP = Tag
type O = BitStringOwned
Source§impl ProductiveRecBody for BerBitStringRecBody
impl ProductiveRecBody for BerBitStringRecBody
Source§proof fn lemma_body_productive_inv_preservation(
&self,
_tag: Tag,
_rec: ParamRecSpecs<Tag, BitStringSpec>,
)
proof fn lemma_body_productive_inv_preservation( &self, _tag: Tag, _rec: ParamRecSpecs<Tag, BitStringSpec>, )
Source§impl SafeParserRecBody for BerBitStringRecBody
impl SafeParserRecBody for BerBitStringRecBody
Source§proof fn lemma_body_safe_inv_preservation(
&self,
_tag: Tag,
_rec: ParamRecSpecs<Tag, BitStringSpec>,
)
proof fn lemma_body_safe_inv_preservation( &self, _tag: Tag, _rec: ParamRecSpecs<Tag, BitStringSpec>, )
Source§impl SpecRecBody for BerBitStringRecBody
impl SpecRecBody for BerBitStringRecBody
Source§open spec fn spec_body(
&self,
tag: Self::Param,
rec: ParamRecSpecs<Self::Param, Self::T>,
) -> Self::Body
open spec fn spec_body( &self, tag: Self::Param, rec: ParamRecSpecs<Self::Param, Self::T>, ) -> Self::Body
{ ber_bit_string_rec_body(tag, rec) }type Param = Tag
type T = BitStringSpec
type Body = Mapped<Refined<Bind<TagFmt, FnSpec<(Tag,), Sum<Bind<LengthFmt<BER>, FnSpec<(usize,), ExactLen<BitStringFmt<BER>, usize>>>, Sum<Bind<BerLengthFmt, FnSpec<(BerLength,), Sum<ExactLen<RepeatTillEnd<(FnSpec<(BitStringSpec,), bool>, FnSpec<(BitStringSpec,), nat>, FnSpec<(Seq<u8>,), Option<(int, BitStringSpec)>>, FnSpec<(BitStringSpec,), Seq<u8>>, FnSpec<(BitStringSpec, Seq<u8>), Seq<u8>>)>, usize>, Repeat<(FnSpec<(BitStringSpec,), bool>, FnSpec<(BitStringSpec,), nat>, FnSpec<(Seq<u8>,), Option<(int, BitStringSpec)>>, FnSpec<(BitStringSpec,), Seq<u8>>, FnSpec<(BitStringSpec, Seq<u8>), Seq<u8>>), Pair<Const<TagFmt, Tag>, Const<U8, u8>>>>>>, Void>>>>, FnSpec<((Tag, Sum<(usize, BitStringSpec), Sum<(BerLength, Sum<Seq<BitStringSpec>, (Seq<BitStringSpec>, (Tag, u8))>), ExecNever>>),), bool>>, (FnSpec<((Tag, Sum<(usize, BitStringSpec), Sum<(BerLength, Sum<Seq<BitStringSpec>, (Seq<BitStringSpec>, (Tag, u8))>), ExecNever>>),), BitStringSpec>, FnSpec<(BitStringSpec,), (Tag, Sum<(usize, BitStringSpec), Sum<(BerLength, Sum<Seq<BitStringSpec>, (Seq<BitStringSpec>, (Tag, u8))>), ExecNever>>)>)>
Auto Trait Implementations§
impl Freeze for BerBitStringRecBody
impl RefUnwindSafe for BerBitStringRecBody
impl Send for BerBitStringRecBody
impl Sync for BerBitStringRecBody
impl Unpin for BerBitStringRecBody
impl UnsafeUnpin for BerBitStringRecBody
impl UnwindSafe for BerBitStringRecBody
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