pub struct JavascriptPosixSpawnFileAction {
pub command: u32,
pub guest_fd: Option<i32>,
pub fd: i32,
pub source_fd: i32,
pub guest_source_fd: Option<i32>,
pub oflag: i32,
pub mode: u32,
pub path: String,
pub close_from_guest_fds: Vec<u32>,
}Fields§
§command: u32§guest_fd: Option<i32>§fd: i32§source_fd: i32§guest_source_fd: Option<i32>§oflag: i32§mode: u32§path: String§close_from_guest_fds: Vec<u32>Runner-local public guest descriptors selected by closefrom. These do not have kernel mappings, but the child bootstrap must still suppress their untagged aliases while retaining private tagged preopens.
Trait Implementations§
Source§impl Clone for JavascriptPosixSpawnFileAction
impl Clone for JavascriptPosixSpawnFileAction
Source§fn clone(&self) -> JavascriptPosixSpawnFileAction
fn clone(&self) -> JavascriptPosixSpawnFileAction
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<'de> Deserialize<'de> for JavascriptPosixSpawnFileAction
impl<'de> Deserialize<'de> for JavascriptPosixSpawnFileAction
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
Auto Trait Implementations§
impl Freeze for JavascriptPosixSpawnFileAction
impl RefUnwindSafe for JavascriptPosixSpawnFileAction
impl Send for JavascriptPosixSpawnFileAction
impl Sync for JavascriptPosixSpawnFileAction
impl Unpin for JavascriptPosixSpawnFileAction
impl UnsafeUnpin for JavascriptPosixSpawnFileAction
impl UnwindSafe for JavascriptPosixSpawnFileAction
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