pub enum ServiceTagName {
Ok,
Error,
SeqOk,
SeqError,
Behaviour,
DbgBehaviour,
Map,
}
Expand description
Auto-generated discriminant enum variants
Variants§
Ok
Simple service that returns same value
Error
Simple service that returns same call result (i.e. may return a error)
SeqOk
Service that may return a new value on subsequent call. Its keys are either call number string starting from “0”, or “default”.
SeqError
Behaviour
Some known service by name: “echo”, “unit” (more to follow).
DbgBehaviour
Same services as defined by the enum element above with dbg! applied to the arguments.
Map
Maps first argument to a value
Trait Implementations§
source§impl AsRef<str> for ServiceTagName
impl AsRef<str> for ServiceTagName
source§impl Clone for ServiceTagName
impl Clone for ServiceTagName
source§fn clone(&self) -> ServiceTagName
fn clone(&self) -> ServiceTagName
Returns a copy of the value. Read more
1.0.0 · 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 ServiceTagName
impl Debug for ServiceTagName
source§impl<'_enum> From<&'_enum ServiceDefinition> for ServiceTagName
impl<'_enum> From<&'_enum ServiceDefinition> for ServiceTagName
source§fn from(val: &'_enum ServiceDefinition) -> ServiceTagName
fn from(val: &'_enum ServiceDefinition) -> ServiceTagName
Converts to this type from the input type.
source§impl From<ServiceDefinition> for ServiceTagName
impl From<ServiceDefinition> for ServiceTagName
source§fn from(val: ServiceDefinition) -> ServiceTagName
fn from(val: ServiceDefinition) -> ServiceTagName
Converts to this type from the input type.
source§impl FromStr for ServiceTagName
impl FromStr for ServiceTagName
source§impl PartialEq for ServiceTagName
impl PartialEq for ServiceTagName
source§fn eq(&self, other: &ServiceTagName) -> bool
fn eq(&self, other: &ServiceTagName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for ServiceTagName
impl TryFrom<&str> for ServiceTagName
impl Copy for ServiceTagName
impl Eq for ServiceTagName
impl StructuralPartialEq for ServiceTagName
Auto Trait Implementations§
impl Freeze for ServiceTagName
impl RefUnwindSafe for ServiceTagName
impl Send for ServiceTagName
impl Sync for ServiceTagName
impl Unpin for ServiceTagName
impl UnwindSafe for ServiceTagName
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<S> AsComponentExternName for S
impl<S> AsComponentExternName for S
§fn as_component_extern_name(&self) -> ComponentExternName<'_>
fn as_component_extern_name(&self) -> ComponentExternName<'_>
Converts this receiver into a
ComponentExternName
.§impl<S> AsComponentExternName for S
impl<S> AsComponentExternName for S
§fn as_component_extern_name(&self) -> ComponentExternName<'_>
fn as_component_extern_name(&self) -> ComponentExternName<'_>
Converts this receiver into a
ComponentExternName
.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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.