pub struct PythonVfsRpcRequest {Show 28 fields
pub id: u64,
pub method: PythonVfsRpcMethod,
pub path: String,
pub destination: Option<String>,
pub target: Option<String>,
pub mode: Option<u32>,
pub uid: Option<u32>,
pub gid: Option<u32>,
pub atime_ms: Option<u64>,
pub mtime_ms: Option<u64>,
pub content_base64: Option<String>,
pub recursive: bool,
pub url: Option<String>,
pub http_method: Option<String>,
pub headers: BTreeMap<String, String>,
pub body_base64: Option<String>,
pub hostname: Option<String>,
pub family: Option<u8>,
pub port: Option<u16>,
pub socket_id: Option<u64>,
pub command: Option<String>,
pub args: Vec<String>,
pub argv0: Option<String>,
pub cwd: Option<String>,
pub env: BTreeMap<String, String>,
pub shell: bool,
pub max_buffer: Option<usize>,
pub timeout_ms: Option<u64>,
}Fields§
§id: u64§method: PythonVfsRpcMethod§path: String§destination: Option<String>Second path for Rename (the destination); None for other methods.
target: Option<String>Symlink target (the path the link points at), for Symlink.
mode: Option<u32>Setattr metadata fields (each applied only when present).
uid: Option<u32>§gid: Option<u32>§atime_ms: Option<u64>§mtime_ms: Option<u64>§content_base64: Option<String>§recursive: bool§url: Option<String>§http_method: Option<String>§headers: BTreeMap<String, String>§body_base64: Option<String>§hostname: Option<String>§family: Option<u8>§port: Option<u16>Port for socket connect/sendto.
socket_id: Option<u64>Socket handle for send/recv/close/sendto/recvfrom.
command: Option<String>§args: Vec<String>§argv0: Option<String>Explicit child argv[0], kept separate from the executable path.
cwd: Option<String>§env: BTreeMap<String, String>§shell: bool§max_buffer: Option<usize>§timeout_ms: Option<u64>Maximum time one socket receive operation may wait for shared
readiness. Some(0) preserves nonblocking socket behavior.
Trait Implementations§
Source§impl Clone for PythonVfsRpcRequest
impl Clone for PythonVfsRpcRequest
Source§fn clone(&self) -> PythonVfsRpcRequest
fn clone(&self) -> PythonVfsRpcRequest
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 PythonVfsRpcRequest
impl Debug for PythonVfsRpcRequest
impl Eq for PythonVfsRpcRequest
Source§impl PartialEq for PythonVfsRpcRequest
impl PartialEq for PythonVfsRpcRequest
impl StructuralPartialEq for PythonVfsRpcRequest
Auto Trait Implementations§
impl Freeze for PythonVfsRpcRequest
impl RefUnwindSafe for PythonVfsRpcRequest
impl Send for PythonVfsRpcRequest
impl Sync for PythonVfsRpcRequest
impl Unpin for PythonVfsRpcRequest
impl UnsafeUnpin for PythonVfsRpcRequest
impl UnwindSafe for PythonVfsRpcRequest
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