Struct dnstplib::processor::response::ResponseProcesor
source · pub struct ResponseProcesor {
message_channel: Option<Sender<NetworkMessagePtr>>,
crypto_context: Arc<Mutex<ClientCryptoContext>>,
}
Fields§
§message_channel: Option<Sender<NetworkMessagePtr>>
§crypto_context: Arc<Mutex<ClientCryptoContext>>
Implementations§
source§impl ResponseProcesor
impl ResponseProcesor
pub fn new(crypto_context: Arc<Mutex<ClientCryptoContext>>) -> ResponseProcesor
pub fn run(&mut self)
pub fn get_message_channel(&mut self) -> Option<Sender<NetworkMessagePtr>>
Auto Trait Implementations§
impl Freeze for ResponseProcesor
impl RefUnwindSafe for ResponseProcesor
impl Send for ResponseProcesor
impl Sync for ResponseProcesor
impl Unpin for ResponseProcesor
impl UnwindSafe for ResponseProcesor
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