Trait secp256k1::Context[][src]

pub unsafe trait Context: Sealed {
    const FLAGS: c_uint;
    const DESCRIPTION: &'static str;

    unsafe fn deallocate(ptr: *mut u8, size: usize);
}
Expand description

A trait for all kinds of Context’s that Lets you define the exact flags and a function to deallocate memory. It shouldn’t be possible to implement this for types outside this crate.

Associated Constants

Flags for the ffi.

A constant description of the context.

Required methods

A function to deallocate the memory when the context is dropped.

Implementors