pub enum GuestAction {
Show 19 variants
Checkpoint {
version: u32,
action: Action,
},
Capabilities,
Hello,
ManageFiles {
user: String,
},
StageFiles {
user: String,
},
MountVolumes {
mounts: Vec<Mount>,
},
FreezeVolume {
device: u8,
thaw_after_ms: u64,
},
ThawVolume {
device: u8,
},
WorkspaceMount {
binding: Mount,
},
WorkspaceMountStatus {
grant: WorkspaceGrantId,
},
WorkspaceUnmount {
grant: WorkspaceGrantId,
force: bool,
},
Launch {
workspaces: Vec<RequiredMount>,
argv: Vec<String>,
env: BTreeMap<String, String>,
settings: ProcessSettings,
},
Exec {
argv: Vec<String>,
overrides: ExecOverrides,
},
ExecSession {
argv: Vec<String>,
overrides: ExecOverrides,
options: Options,
initial_size: Option<Size>,
},
ExecStatus {
exec_id: String,
},
Logs {
offset: u64,
},
Status,
Stop {
grace_ms: u64,
},
AckExit,
}Variants§
Checkpoint
Capabilities
Hello
ManageFiles
StageFiles
MountVolumes
FreezeVolume
ThawVolume
WorkspaceMount
WorkspaceMountStatus
Fields
§
grant: WorkspaceGrantIdWorkspaceUnmount
Launch
Exec
ExecSession
ExecStatus
Logs
Status
Stop
AckExit
Trait Implementations§
Source§impl Clone for GuestAction
impl Clone for GuestAction
Source§impl Debug for GuestAction
impl Debug for GuestAction
Source§impl<'de> Deserialize<'de> for GuestAction
impl<'de> Deserialize<'de> for GuestAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GuestAction
Source§impl PartialEq for GuestAction
impl PartialEq for GuestAction
Source§impl Serialize for GuestAction
impl Serialize for GuestAction
impl StructuralPartialEq for GuestAction
Auto Trait Implementations§
impl Forget for GuestAction
impl Freeze for GuestActionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Mount>: Freeze,
PhantomData<RequiredMount>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
NonZero<u16>: Freeze,
impl Move for GuestAction
impl RefUnwindSafe for GuestAction
impl Send for GuestAction
impl Sync for GuestAction
impl Unpin for GuestAction
impl UnsafeUnpin for GuestActionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Mount>: UnsafeUnpin,
PhantomData<RequiredMount>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
NonZeroU16Inner: UnsafeUnpin,
impl UnwindSafe for GuestAction
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