pub enum ToWaOS {
Run {
id: ProgramId,
component: Vec<u8>,
},
Open {
id: ProgramId,
files: Vec<PathBuf>,
},
}Expand description
What cargo waos says to a WaOS.
Variants§
Run
Run this component as the program id names, from its [package.metadata.waos], with
that program’s settings and folders, installed or not; the program running under that
id is stopped first.
Open
Open these files, absolute paths on this machine, with the program id names, as its
user would open them with it: the program running under that id, or the installed one,
started. Answered Opened or Refused, after which the connection ends.
Trait Implementations§
Source§impl Debug for ToWaOS
A component is megabytes: an event that prints the message says how many, not which.
impl Debug for ToWaOS
A component is megabytes: an event that prints the message says how many, not which.
Source§impl<'de> Deserialize<'de> for ToWaOS
impl<'de> Deserialize<'de> for ToWaOS
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 ToWaOS
impl StructuralPartialEq for ToWaOS
Auto Trait Implementations§
impl Forget for ToWaOS
impl Freeze for ToWaOS
impl RefUnwindSafe for ToWaOS
impl Send for ToWaOS
impl Sync for ToWaOS
impl Unpin for ToWaOS
impl UnsafeUnpin for ToWaOS
impl UnwindSafe for ToWaOS
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.