Struct aether_lib::link::decryptionthread::DecryptionThread
source · [−]pub struct DecryptionThread { /* private fields */ }
Implementations
sourceimpl DecryptionThread
impl DecryptionThread
pub fn new(
cipher: AetherCipher,
receiver: Receiver<Packet>,
sender: Sender<Packet>,
stop_flag: Arc<Mutex<bool>>,
config: Config
) -> DecryptionThread
pub fn start(&self) -> Result<(), AetherError>
Auto Trait Implementations
impl RefUnwindSafe for DecryptionThread
impl Send for DecryptionThread
impl Sync for DecryptionThread
impl Unpin for DecryptionThread
impl UnwindSafe for DecryptionThread
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more