pub struct ServerContext<'a> {
pub ctx: &'a mut CommandContext,
pub raw_data_walker: DataWalker,
pub domain_table: Shared<DomainTable>,
pub new_sessions: &'a mut Vec<ServerHolder>,
}
Fields
ctx: &'a mut CommandContext
raw_data_walker: DataWalker
domain_table: Shared<DomainTable>
new_sessions: &'a mut Vec<ServerHolder>
Implementations
sourceimpl<'a> ServerContext<'a>
impl<'a> ServerContext<'a>
pub const fn new(
ctx: &'a mut CommandContext,
raw_data_walker: DataWalker,
domain_table: Shared<DomainTable>,
new_sessions: &'a mut Vec<ServerHolder>
) -> Self
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ServerContext<'a>
impl<'a> !Send for ServerContext<'a>
impl<'a> !Sync for ServerContext<'a>
impl<'a> Unpin for ServerContext<'a>
impl<'a> !UnwindSafe for ServerContext<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more