[][src]Trait internet2::Decrypt

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

Associated Types

Loading content...

Required methods

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

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...