pub struct InnerContext { /* private fields */ }
Implementations§
Source§impl InnerContext
impl InnerContext
Source§impl InnerContext
impl InnerContext
pub fn get_stream(&self) -> &OptionArcRwLockStream
pub fn get_mut_stream(&mut self) -> &mut OptionArcRwLockStream
pub fn set_stream(&mut self, val: OptionArcRwLockStream) -> &mut Self
pub fn get_request(&self) -> &Request
pub fn get_mut_request(&mut self) -> &mut Request
pub fn set_request(&mut self, val: Request) -> &mut Self
pub fn get_response(&self) -> &Response
pub fn get_mut_response(&mut self) -> &mut Response
pub fn set_response(&mut self, val: Response) -> &mut Self
pub fn get_log(&self) -> &Log
pub fn get_mut_log(&mut self) -> &mut Log
pub fn set_log(&mut self, val: Log) -> &mut Self
pub fn get_data(&self) -> &HashMapArcAnySendSync
pub fn get_mut_data(&mut self) -> &mut HashMapArcAnySendSync
pub fn set_data(&mut self, val: HashMapArcAnySendSync) -> &mut Self
Trait Implementations§
Source§impl Clone for InnerContext
impl Clone for InnerContext
Source§fn clone(&self) -> InnerContext
fn clone(&self) -> InnerContext
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for InnerContext
impl !RefUnwindSafe for InnerContext
impl Send for InnerContext
impl Sync for InnerContext
impl Unpin for InnerContext
impl !UnwindSafe for InnerContext
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