Struct muzzman_lib::local_session::session::LocalSession
source · pub struct LocalSession {
pub location: Option<LRow>,
pub modules: Vec<MRow>,
pub actions: Vec<Arc<RwLock<Action>>>,
pub callback: Option<Box<dyn Fn(SessionEvent)>>,
}
Fields§
§location: Option<LRow>
§modules: Vec<MRow>
§actions: Vec<Arc<RwLock<Action>>>
§callback: Option<Box<dyn Fn(SessionEvent)>>
Implementations§
source§impl LocalSession
impl LocalSession
pub fn new_session(self) -> Box<dyn TSession>
Trait Implementations§
source§impl Default for LocalSession
impl Default for LocalSession
source§fn default() -> LocalSession
fn default() -> LocalSession
Returns the “default value” for a type. Read more