pub struct IsolatedProcessId(/* private fields */);Expand description
Typed isolation/package identifier for IsolatedProcessId. 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 IsolatedProcessId
impl IsolatedProcessId
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 IsolatedProcessId
impl Clone for IsolatedProcessId
Source§fn clone(&self) -> IsolatedProcessId
fn clone(&self) -> IsolatedProcessId
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 IsolatedProcessId
impl Debug for IsolatedProcessId
Source§impl<'de> Deserialize<'de> for IsolatedProcessId
impl<'de> Deserialize<'de> for IsolatedProcessId
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 IsolatedProcessId
impl Display for IsolatedProcessId
Source§impl From<&str> for IsolatedProcessId
impl From<&str> for IsolatedProcessId
Source§impl Hash for IsolatedProcessId
impl Hash for IsolatedProcessId
Source§impl Ord for IsolatedProcessId
impl Ord for IsolatedProcessId
Source§fn cmp(&self, other: &IsolatedProcessId) -> Ordering
fn cmp(&self, other: &IsolatedProcessId) -> 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 IsolatedProcessId
impl PartialEq for IsolatedProcessId
Source§fn eq(&self, other: &IsolatedProcessId) -> bool
fn eq(&self, other: &IsolatedProcessId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IsolatedProcessId
impl PartialOrd for IsolatedProcessId
Source§impl Serialize for IsolatedProcessId
impl Serialize for IsolatedProcessId
impl Eq for IsolatedProcessId
impl StructuralPartialEq for IsolatedProcessId
Auto Trait Implementations§
impl Freeze for IsolatedProcessId
impl RefUnwindSafe for IsolatedProcessId
impl Send for IsolatedProcessId
impl Sync for IsolatedProcessId
impl Unpin for IsolatedProcessId
impl UnsafeUnpin for IsolatedProcessId
impl UnwindSafe for IsolatedProcessId
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