pub enum SessionAction {
CompactContext {
focus: Option<String>,
},
PurgeContext,
LoadSession(PathBuf),
SyncSession(SessionSyncPayload),
NewSession {
sync: SessionSyncPayload,
force: bool,
draft: Option<String>,
},
SendMessage(String),
RemoteControl(SessionRemoteControlAction),
OpenExternalUrl {
url: String,
label: String,
},
}Expand description
Complete session-group vocabulary. Hosts execute these requests after dispatch.
Variants§
CompactContext
PurgeContext
LoadSession(PathBuf)
SyncSession(SessionSyncPayload)
NewSession
SendMessage(String)
RemoteControl(SessionRemoteControlAction)
OpenExternalUrl
Trait Implementations§
Source§impl Clone for SessionAction
impl Clone for SessionAction
Source§impl Debug for SessionAction
impl Debug for SessionAction
Source§impl PartialEq for SessionAction
impl PartialEq for SessionAction
impl StructuralPartialEq for SessionAction
Auto Trait Implementations§
impl Forget for SessionAction
impl Freeze for SessionAction
impl Move for SessionAction
impl RefUnwindSafe for SessionAction
impl Send for SessionAction
impl Sync for SessionAction
impl Unpin for SessionAction
impl UnsafeUnpin for SessionAction
impl UnwindSafe for SessionAction
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