pub struct PayloadRef(/* private fields */);Expand description
Opaque locator for a payload the host persisted (§7.10 rule 7).
Not a path. The kernel never joins it, never opens it and never lets a meta-tool
interpret it; the only legal use is handing it back to the host in a LoadPayload effect.
The historical spool_ref/archive_ref were real filesystem paths, which is exactly how a
model-visible read tool learned to bypass the handle table.
Implementations§
Source§impl PayloadRef
impl PayloadRef
Trait Implementations§
Source§impl Clone for PayloadRef
impl Clone for PayloadRef
Source§fn clone(&self) -> PayloadRef
fn clone(&self) -> PayloadRef
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 PayloadRef
impl Debug for PayloadRef
Source§impl<'de> Deserialize<'de> for PayloadRef
impl<'de> Deserialize<'de> for PayloadRef
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PayloadRef
impl Display for PayloadRef
impl Eq for PayloadRef
Source§impl Hash for PayloadRef
impl Hash for PayloadRef
Source§impl Ord for PayloadRef
impl Ord for PayloadRef
Source§fn cmp(&self, other: &PayloadRef) -> Ordering
fn cmp(&self, other: &PayloadRef) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PayloadRef
impl PartialEq for PayloadRef
Source§impl PartialOrd for PayloadRef
impl PartialOrd for PayloadRef
Source§impl Serialize for PayloadRef
impl Serialize for PayloadRef
impl StructuralPartialEq for PayloadRef
Auto Trait Implementations§
impl Freeze for PayloadRef
impl RefUnwindSafe for PayloadRef
impl Send for PayloadRef
impl Sync for PayloadRef
impl Unpin for PayloadRef
impl UnsafeUnpin for PayloadRef
impl UnwindSafe for PayloadRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more