breez_sdk_liquid::bitcoin::util::key::secp256k1

Trait PreallocatedContext

pub unsafe trait PreallocatedContext<'a> { }
Expand description

Trait marking that a particular context object internally points to memory that must outlive 'a

§Safety

This trait is used internally to gate which context markers can safely be used with the preallocated_gen_new function. Do not implement it on your own structures.

Implementors§

§

impl<'buf> PreallocatedContext<'buf> for AllPreallocated<'buf>

§

impl<'buf> PreallocatedContext<'buf> for SignOnlyPreallocated<'buf>

§

impl<'buf> PreallocatedContext<'buf> for VerifyOnlyPreallocated<'buf>