Struct secp256k1::ecdh::SharedSecret [] [src]

pub struct SharedSecret(_);

A tag used for recovering the public key from a compact signature

Methods

impl SharedSecret
[src]

[src]

Creates a new shared secret from a pubkey and secret key

[src]

Obtains a raw pointer suitable for use with FFI functions

Trait Implementations

impl Copy for SharedSecret
[src]

impl Clone for SharedSecret
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for SharedSecret
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for SharedSecret
[src]

impl Debug for SharedSecret
[src]

[src]

Formats the value using the given formatter. Read more

impl From<SharedSecret> for SharedSecret
[src]

Creates a new shared secret from a FFI shared secret

[src]

Performs the conversion.

impl Index<usize> for SharedSecret
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl Index<Range<usize>> for SharedSecret
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl Index<RangeFrom<usize>> for SharedSecret
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl Index<RangeFull> for SharedSecret
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

Auto Trait Implementations

impl Send for SharedSecret

impl Sync for SharedSecret