Enum shadowsocks::crypto::stream::StreamCipherVariant [] [src]

pub enum StreamCipherVariant {
    TableCipher(TableCipher),
    DummyCipher(DummyCipher),
    Rc4Md5Cipher(Rc4Md5Cipher),
    OpenSSLCipher(OpenSSLCipher),
    CryptoCipher(CryptoCipher),
}

Variant cipher which contains all possible ciphers

Variants

Methods

impl StreamCipherVariant
[src]

Creates from an actual cipher

Trait Implementations

impl StreamCipher for StreamCipherVariant
[src]

impl From<TableCipher> for StreamCipherVariant
[src]

Performs the conversion.

impl From<DummyCipher> for StreamCipherVariant
[src]

Performs the conversion.

impl From<Rc4Md5Cipher> for StreamCipherVariant
[src]

Performs the conversion.

impl From<OpenSSLCipher> for StreamCipherVariant
[src]

Performs the conversion.

impl From<CryptoCipher> for StreamCipherVariant
[src]

Performs the conversion.