Skip to main content

SecureSpecCombinator

Trait SecureSpecCombinator 

Source
pub trait SecureSpecCombinator: SpecCombinator { }
Expand description

Theorems and lemmas that must be proven for a combinator to be considered correct and secure.

Implementations on Foreign Types§

Source§

impl<C: SecureSpecCombinator> SecureSpecCombinator for &C

Source§

impl<C: SecureSpecCombinator> SecureSpecCombinator for Box<C>

Source§

impl<Fst: SecureSpecCombinator, Snd: SecureSpecCombinator> SecureSpecCombinator for (Fst, Snd)

Implementors§

Source§

impl SecureSpecCombinator for BtcVarint

Source§

impl SecureSpecCombinator for Tail

Source§

impl SecureSpecCombinator for Variable

Source§

impl SecureSpecCombinator for End

Source§

impl SecureSpecCombinator for Fail

Source§

impl SecureSpecCombinator for UnsignedLEB128

Source§

impl SecureSpecCombinator for Success

Source§

impl SecureSpecCombinator for U8

Source§

impl SecureSpecCombinator for U16Be

Source§

impl SecureSpecCombinator for U16Le

Source§

impl SecureSpecCombinator for U24Be

Source§

impl SecureSpecCombinator for U24Le

Source§

impl SecureSpecCombinator for U32Be

Source§

impl SecureSpecCombinator for U32Le

Source§

impl SecureSpecCombinator for U64Be

Source§

impl SecureSpecCombinator for U64Le

Source§

impl<C: SecureSpecCombinator> SecureSpecCombinator for Repeat<C>

Source§

impl<C: SecureSpecCombinator> SecureSpecCombinator for RepeatN<C>

Source§

impl<Fst, Snd> SecureSpecCombinator for Choice<Fst, Snd>

Source§

impl<Fst, Snd> SecureSpecCombinator for OptThen<Fst, Snd>

Source§

impl<Fst, Snd> SecureSpecCombinator for SpecPair<Fst, Snd>

Source§

impl<Fst: SecureSpecCombinator<Type = ()>, Snd: SecureSpecCombinator> SecureSpecCombinator for Preceded<Fst, Snd>

Source§

impl<Fst: SecureSpecCombinator, Snd: SecureSpecCombinator<Type = ()>> SecureSpecCombinator for Terminated<Fst, Snd>

Source§

impl<Inner, M> SecureSpecCombinator for Mapped<Inner, M>
where Inner: SecureSpecCombinator, M: SpecIsoProof<Src = Inner::Type>, Inner::Type: SpecFrom<M::Dst>, M::Dst: SpecFrom<Inner::Type>,

Source§

impl<Inner, M> SecureSpecCombinator for TryMap<Inner, M>
where Inner: SecureSpecCombinator, M: SpecPartialIsoProof<Src = Inner::Type>, Inner::Type: SpecTryFrom<M::Dst>, M::Dst: SpecTryFrom<Inner::Type>,

Source§

impl<Inner, P> SecureSpecCombinator for Refined<Inner, P>
where Inner: SecureSpecCombinator, P: SpecPred<Inner::Type>,

Source§

impl<Inner: SecureSpecCombinator> SecureSpecCombinator for Cond<Inner>

Source§

impl<Inner: SecureSpecCombinator<Type = T>, T> SecureSpecCombinator for Tag<Inner, T>

Source§

impl<Next: SecureSpecCombinator> SecureSpecCombinator for AndThen<Variable, Next>

Source§

impl<T: SecureSpecCombinator> SecureSpecCombinator for Opt<T>

Source§

impl<const N: usize> SecureSpecCombinator for Fixed<N>