pub struct SpawnContextDigest(/* private fields */);Implementations§
Source§impl SpawnContextDigest
impl SpawnContextDigest
pub fn new( value: impl Into<String>, ) -> Result<SpawnContextDigest, SpawnContextDigestError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for SpawnContextDigest
impl Clone for SpawnContextDigest
Source§fn clone(&self) -> SpawnContextDigest
fn clone(&self) -> SpawnContextDigest
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 SpawnContextDigest
impl Debug for SpawnContextDigest
Source§impl<'de> Deserialize<'de> for SpawnContextDigest
impl<'de> Deserialize<'de> for SpawnContextDigest
Source§fn deserialize<D>(
deserializer: D,
) -> Result<SpawnContextDigest, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<SpawnContextDigest, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SpawnContextDigest
impl Display for SpawnContextDigest
impl Eq for SpawnContextDigest
Source§impl FromStr for SpawnContextDigest
impl FromStr for SpawnContextDigest
Source§type Err = SpawnContextDigestError
type Err = SpawnContextDigestError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<SpawnContextDigest, <SpawnContextDigest as FromStr>::Err>
fn from_str( value: &str, ) -> Result<SpawnContextDigest, <SpawnContextDigest as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SpawnContextDigest
impl Hash for SpawnContextDigest
Source§impl Ord for SpawnContextDigest
impl Ord for SpawnContextDigest
Source§fn cmp(&self, other: &SpawnContextDigest) -> Ordering
fn cmp(&self, other: &SpawnContextDigest) -> 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 SpawnContextDigest
impl PartialEq for SpawnContextDigest
Source§impl PartialOrd for SpawnContextDigest
impl PartialOrd for SpawnContextDigest
Source§impl Serialize for SpawnContextDigest
impl Serialize for SpawnContextDigest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SpawnContextDigest
Auto Trait Implementations§
impl Freeze for SpawnContextDigest
impl RefUnwindSafe for SpawnContextDigest
impl Send for SpawnContextDigest
impl Sync for SpawnContextDigest
impl Unpin for SpawnContextDigest
impl UnsafeUnpin for SpawnContextDigest
impl UnwindSafe for SpawnContextDigest
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