Struct shadowsocks::cipher::Cipher [−][src]
pub struct Cipher {
pub key: Vec<u8>,
pub key_len: usize,
pub iv: Vec<u8>,
pub iv_len: usize,
pub enc: Option<Box<dyn SymmetricCipher + Send + 'static>>,
pub dec: Option<Box<dyn SymmetricCipher + Send + 'static>>,
// some fields omitted
}Fields
key: Vec<u8>key_len: usizeiv: Vec<u8>iv_len: usizeenc: Option<Box<dyn SymmetricCipher + Send + 'static>>dec: Option<Box<dyn SymmetricCipher + Send + 'static>>Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Cipher
impl Send for Cipher
impl !Sync for Cipher
impl Unpin for Cipher
impl !UnwindSafe for Cipher
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,