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
Auto Trait Implementations§
impl Freeze for LocalSession
impl !RefUnwindSafe for LocalSession
impl !Send for LocalSession
impl !Sync for LocalSession
impl Unpin for LocalSession
impl !UnwindSafe for LocalSession
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