pub struct DataPacketCryptor { /* private fields */ }Expand description
High-level Rust wrapper for data packet cryptor functionality
Implementations§
Source§impl DataPacketCryptor
impl DataPacketCryptor
Sourcepub fn new(algorithm: Algorithm, key_provider: SharedPtr<KeyProvider>) -> Self
pub fn new(algorithm: Algorithm, key_provider: SharedPtr<KeyProvider>) -> Self
Create a new data packet cryptor with the specified algorithm and key provider
Auto Trait Implementations§
impl Freeze for DataPacketCryptor
impl RefUnwindSafe for DataPacketCryptor
impl Send for DataPacketCryptor
impl Sync for DataPacketCryptor
impl Unpin for DataPacketCryptor
impl UnwindSafe for DataPacketCryptor
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