Struct devtools::actors::watcher::SessionContext
source · pub struct SessionContext {
is_server_target_switching_enabled: bool,
supported_targets: HashMap<&'static str, bool>,
supported_resources: HashMap<&'static str, bool>,
context_type: SessionContextType,
}
Expand description
Describes the debugged context. It informs the server of which objects can be debugged. https://searchfox.org/mozilla-central/source/devtools/server/actors/watcher/session-context.js
Fields§
§is_server_target_switching_enabled: bool
§supported_targets: HashMap<&'static str, bool>
§supported_resources: HashMap<&'static str, bool>
§context_type: SessionContextType
Implementations§
source§impl SessionContext
impl SessionContext
pub fn new(context_type: SessionContextType) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionContext
impl RefUnwindSafe for SessionContext
impl Send for SessionContext
impl Sync for SessionContext
impl Unpin for SessionContext
impl UnwindSafe for SessionContext
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