pub struct AttachResult {
pub attached: Option<String>,
pub default_space: String,
pub pointer_size: u8,
}Expand description
The attach_program / worker_info shared result: the worker reports the attached program’s
address geometry so the server can build an AddressCanonicalizer for it (spec §3.2 + §6). This
is strictly-additive to the M0 {attached} shape.
Fields§
§attached: Option<String>The VFS path now attached (echoes the request); null in a worker_info reply if nothing is
attached yet (empty project cannot boot, so in practice always Some for M1a).
default_space: String§pointer_size: u8Trait Implementations§
Source§impl Clone for AttachResult
impl Clone for AttachResult
Source§fn clone(&self) -> AttachResult
fn clone(&self) -> AttachResult
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 AttachResult
impl Debug for AttachResult
Source§impl<'de> Deserialize<'de> for AttachResult
impl<'de> Deserialize<'de> for AttachResult
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 AttachResult
Source§impl PartialEq for AttachResult
impl PartialEq for AttachResult
Source§impl Serialize for AttachResult
impl Serialize for AttachResult
impl StructuralPartialEq for AttachResult
Auto Trait Implementations§
impl Freeze for AttachResult
impl RefUnwindSafe for AttachResult
impl Send for AttachResult
impl Sync for AttachResult
impl Unpin for AttachResult
impl UnsafeUnpin for AttachResult
impl UnwindSafe for AttachResult
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