Enum Notice Code
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Bounded non-failure observations; they never acquire a failure class.
Variants (Non-exhaustive)
CliNonzeroExit
CliNonzeroExit
Observation identified by cli.nonzero_exit.
CliPolicyRejected
CliPolicyRejected
Observation identified by cli.policy_rejected.
CliChildExited
CliChildExited
Observation identified by cli.child.exited.
ConfigurationInherited
ConfigurationInherited
Observation identified by plugin.configuration_inherited.
Implementations
impl NoticeCode
impl NoticeCode
canonical_name
pub const fn canonical_name(self) -> &'static str
Stable catalogue name.
Trait Implementations
impl Clone for NoticeCode
impl Clone for NoticeCode
clone
fn clone(&self) -> NoticeCode
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for NoticeCode
impl Debug for NoticeCode
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for NoticeCode
impl<'de> Deserialize<'de> for NoticeCode
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NoticeCode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Hash for NoticeCode
impl Hash for NoticeCode
hash
fn hash<__H>(&self, state: &mut __H)where
__H: Hasher,
hash_slice
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
impl Ord for NoticeCode
impl Ord for NoticeCode
cmp
fn cmp(&self, other: &NoticeCode) -> Ordering
max
fn max(self, other: Self) -> Selfwhere
Self: Sized,
min
fn min(self, other: Self) -> Selfwhere
Self: Sized,
clamp
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized,
impl PartialEq for NoticeCode
impl PartialEq for NoticeCode
eq
fn eq(&self, other: &NoticeCode) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl PartialOrd for NoticeCode
impl PartialOrd for NoticeCode
partial_cmp
fn partial_cmp(&self, other: &NoticeCode) -> Option<Ordering>
lt
fn lt(&self, other: &Rhs) -> bool
le
fn le(&self, other: &Rhs) -> bool
gt
fn gt(&self, other: &Rhs) -> bool
ge
fn ge(&self, other: &Rhs) -> bool
impl Serialize for NoticeCode
impl Serialize for NoticeCode
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Copy for NoticeCode
impl Copy for NoticeCode
impl Eq for NoticeCode
impl Eq for NoticeCode
impl StructuralPartialEq for NoticeCode
impl StructuralPartialEq for NoticeCode