pub struct IsolatedProcessRef(/* private fields */);Expand description
Typed isolation/package identifier for IsolatedProcessRef. Use it to refer to isolation resources without granting ambient runtime power; constructing it is data-only and performs no side effects.
Implementations§
Source§impl IsolatedProcessRef
impl IsolatedProcessRef
Sourcepub fn new(value: impl Into<String>) -> Self
pub fn new(value: impl Into<String>) -> Self
Creates a new package::isolation value with explicit caller-provided inputs. This constructor is data-only and performs no I/O or external side effects.
§Panics
Panics if constructor invariants fail, such as invalid identifier
text or constructor-specific bounds. Use a fallible constructor such as
try_new when one is available for untrusted input.
Trait Implementations§
Source§impl Clone for IsolatedProcessRef
impl Clone for IsolatedProcessRef
Source§fn clone(&self) -> IsolatedProcessRef
fn clone(&self) -> IsolatedProcessRef
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 IsolatedProcessRef
impl Debug for IsolatedProcessRef
Source§impl<'de> Deserialize<'de> for IsolatedProcessRef
impl<'de> Deserialize<'de> for IsolatedProcessRef
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
Source§impl Display for IsolatedProcessRef
impl Display for IsolatedProcessRef
Source§impl From<&str> for IsolatedProcessRef
impl From<&str> for IsolatedProcessRef
Source§impl Hash for IsolatedProcessRef
impl Hash for IsolatedProcessRef
Source§impl Ord for IsolatedProcessRef
impl Ord for IsolatedProcessRef
Source§fn cmp(&self, other: &IsolatedProcessRef) -> Ordering
fn cmp(&self, other: &IsolatedProcessRef) -> 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
Source§impl PartialEq for IsolatedProcessRef
impl PartialEq for IsolatedProcessRef
Source§fn eq(&self, other: &IsolatedProcessRef) -> bool
fn eq(&self, other: &IsolatedProcessRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IsolatedProcessRef
impl PartialOrd for IsolatedProcessRef
Source§impl Serialize for IsolatedProcessRef
impl Serialize for IsolatedProcessRef
impl Eq for IsolatedProcessRef
impl StructuralPartialEq for IsolatedProcessRef
Auto Trait Implementations§
impl Freeze for IsolatedProcessRef
impl RefUnwindSafe for IsolatedProcessRef
impl Send for IsolatedProcessRef
impl Sync for IsolatedProcessRef
impl Unpin for IsolatedProcessRef
impl UnsafeUnpin for IsolatedProcessRef
impl UnwindSafe for IsolatedProcessRef
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