[][src]Trait lnpbp::lnp::Decrypt

pub trait Decrypt {
    type Error: Error;
    fn decrypt(
        &mut self,
        buffer: impl Borrow<[u8]>
    ) -> Result<Vec<u8>, Self::Error>; }

Associated Types

type Error: Error

Loading content...

Required methods

fn decrypt(&mut self, buffer: impl Borrow<[u8]>) -> Result<Vec<u8>, Self::Error>

Loading content...

Implementors

impl Decrypt for NoiseDecryptor[src]

type Error = HandshakeError

impl Decrypt for NoiseTranscoder[src]

type Error = HandshakeError

impl Decrypt for PlainTranscoder[src]

type Error = Error

Loading content...