pub struct IoContext<'a> {
pub server: Arc<ServerShared>,
pub conn: &'a mut ConnState,
}Expand description
Bundled per-request context handed to every command handler.
Fields§
§server: Arc<ServerShared>Refcounted global configuration and user database.
conn: &'a mut ConnStateConnection bookkeeping (challenge, session, trees, handles…).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for IoContext<'a>
impl<'a> !Send for IoContext<'a>
impl<'a> !Sync for IoContext<'a>
impl<'a> !UnwindSafe for IoContext<'a>
impl<'a> Freeze for IoContext<'a>
impl<'a> Unpin for IoContext<'a>
impl<'a> UnsafeUnpin for IoContext<'a>
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