pub enum ReadProcessor {
None,
RC4 {
alg: HashAlgorithm,
key: Rc4,
mac_secret: Vec<u8>,
seq: u64,
},
}Expand description
Handler for processing messages that have been read and turning them into their actual messages
Variants§
None
NO-OP Write processor which directly converts the message to Message
RC4
RC4 Decryption processor which decrypts the message before converting
Implementations§
Source§impl ReadProcessor
impl ReadProcessor
pub fn process( &mut self, message: OpaqueMessage, ) -> Result<Message, DecryptError>
Auto Trait Implementations§
impl Freeze for ReadProcessor
impl RefUnwindSafe for ReadProcessor
impl Send for ReadProcessor
impl Sync for ReadProcessor
impl Unpin for ReadProcessor
impl UnsafeUnpin for ReadProcessor
impl UnwindSafe for ReadProcessor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more