pub struct ProcessId {
pub process_name: String,
pub package_name: String,
pub publisher_node: NodeId,
}Fields§
§process_name: String§package_name: String§publisher_node: NodeIdImplementations§
Source§impl ProcessId
ProcessId is defined in the wit bindings, but constructors and methods
are defined here. A ProcessId contains a process name, a package name,
and a publisher node ID.
impl ProcessId
ProcessId is defined in the wit bindings, but constructors and methods
are defined here. A ProcessId contains a process name, a package name,
and a publisher node ID.
Trait Implementations§
Source§impl<'a> Deserialize<'a> for ProcessId
impl<'a> Deserialize<'a> for ProcessId
Source§fn deserialize<D>(deserializer: D) -> Result<ProcessId, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<ProcessId, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for ProcessId
impl FromStr for ProcessId
Source§fn from_str(input: &str) -> Result<Self, ProcessIdParseError>
fn from_str(input: &str) -> Result<Self, ProcessIdParseError>
Attempts to parse a ProcessId from a string. The string must match the pattern
of three segments containing only lowercase letters, numbers and hyphens, separated by colons.
Source§type Err = ProcessIdParseError
type Err = ProcessIdParseError
The associated error which can be returned from parsing.
impl Eq for ProcessId
Auto Trait Implementations§
impl Freeze for ProcessId
impl RefUnwindSafe for ProcessId
impl Send for ProcessId
impl Sync for ProcessId
impl Unpin for ProcessId
impl UnwindSafe for ProcessId
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more