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§impl Debug for UbuntuProcess
impl Debug for UbuntuProcess
Source§impl Default for UbuntuProcess
impl Default for UbuntuProcess
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 Forget for UbuntuProcess
impl Freeze for UbuntuProcesswhere
*const LeafNode<ProgramRef, PathBuf> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ProgramRef, PathBuf)>>: Freeze,
*const LeafNode<ProjectRootRef, PathBuf> is !null: Freeze,
PhantomData<Box<(ProjectRootRef, PathBuf)>>: Freeze,
*const LeafNode<PrivateArtifactRef, PathBuf> is !null: Freeze,
PhantomData<Box<(PrivateArtifactRef, PathBuf)>>: Freeze,
impl Move for UbuntuProcess
impl RefUnwindSafe for UbuntuProcess
impl Send for UbuntuProcesswhere
NodeRef<Owned, ProgramRef, PathBuf, LeafOrInternal>: Send,
BoxRaw<(ProgramRef, PathBuf)>: Send,
NodeRef<Owned, ProjectRootRef, PathBuf, LeafOrInternal>: Send,
BoxRaw<(ProjectRootRef, PathBuf)>: Send,
NodeRef<Owned, PrivateArtifactRef, PathBuf, LeafOrInternal>: Send,
BoxRaw<(PrivateArtifactRef, PathBuf)>: Send,
impl Sync for UbuntuProcesswhere
NodeRef<Owned, ProgramRef, PathBuf, LeafOrInternal>: Sync,
BoxRaw<(ProgramRef, PathBuf)>: Sync,
NodeRef<Owned, ProjectRootRef, PathBuf, LeafOrInternal>: Sync,
BoxRaw<(ProjectRootRef, PathBuf)>: Sync,
NodeRef<Owned, PrivateArtifactRef, PathBuf, LeafOrInternal>: Sync,
BoxRaw<(PrivateArtifactRef, PathBuf)>: Sync,
impl Unpin for UbuntuProcesswhere
*const LeafNode<ProgramRef, PathBuf> is !null: Unpin,
Box<(ProgramRef, PathBuf)>: Unpin,
*const LeafNode<ProjectRootRef, PathBuf> is !null: Unpin,
Box<(ProjectRootRef, PathBuf)>: Unpin,
*const LeafNode<PrivateArtifactRef, PathBuf> is !null: Unpin,
Box<(PrivateArtifactRef, PathBuf)>: Unpin,
impl UnsafeUnpin for UbuntuProcesswhere
*const LeafNode<ProgramRef, PathBuf> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ProgramRef, PathBuf)>>: UnsafeUnpin,
*const LeafNode<ProjectRootRef, PathBuf> is !null: UnsafeUnpin,
PhantomData<Box<(ProjectRootRef, PathBuf)>>: UnsafeUnpin,
*const LeafNode<PrivateArtifactRef, PathBuf> is !null: UnsafeUnpin,
PhantomData<Box<(PrivateArtifactRef, PathBuf)>>: UnsafeUnpin,
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