pub struct UbuntuProcess { /* private fields */ }Expand description
Ubuntu process adapter. All native process mechanics are confined here.
Implementations§
Source§impl UbuntuProcess
impl UbuntuProcess
Sourcepub fn new(
programs: BTreeMap<ProgramRef, PathBuf>,
roots: BTreeMap<ProjectRootRef, PathBuf>,
artifacts: BTreeMap<PrivateArtifactRef, PathBuf>,
) -> Self
pub fn new( programs: BTreeMap<ProgramRef, PathBuf>, roots: BTreeMap<ProjectRootRef, PathBuf>, artifacts: BTreeMap<PrivateArtifactRef, PathBuf>, ) -> Self
Creates a capsule from boot-trusted native resource mappings.
Trait Implementations§
Source§impl Clone for UbuntuProcess
impl Clone for UbuntuProcess
Source§fn clone(&self) -> UbuntuProcess
fn clone(&self) -> UbuntuProcess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UbuntuProcess
impl Debug for UbuntuProcess
Source§impl Default for UbuntuProcess
impl Default for UbuntuProcess
Source§fn default() -> UbuntuProcess
fn default() -> UbuntuProcess
Returns the “default value” for a type. Read more
Source§impl ProcessPort for UbuntuProcess
impl ProcessPort for UbuntuProcess
Source§fn run(
&self,
request: &ProcessRequest,
cancellation: &ProcessCancellation,
) -> ProcessAttempt
fn run( &self, request: &ProcessRequest, cancellation: &ProcessCancellation, ) -> ProcessAttempt
Resolves opaque resources and executes one sealed request.
Auto Trait Implementations§
impl Freeze for UbuntuProcess
impl RefUnwindSafe for UbuntuProcess
impl Send for UbuntuProcess
impl Sync for UbuntuProcess
impl Unpin for UbuntuProcess
impl UnsafeUnpin for UbuntuProcess
impl UnwindSafe for UbuntuProcess
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