#[repr(i32)]pub enum StatusTextType {
Debug = 0,
Info = 1,
Notice = 2,
Warning = 3,
Error = 4,
Critical = 5,
Alert = 6,
Emergency = 7,
}Expand description
Status types.
Variants§
Debug = 0
Debug
Info = 1
Information
Notice = 2
Notice
Warning = 3
Warning
Error = 4
Error
Critical = 5
Critical
Alert = 6
Alert
Emergency = 7
Emergency
Implementations§
Trait Implementations§
Source§impl Clone for StatusTextType
impl Clone for StatusTextType
Source§fn clone(&self) -> StatusTextType
fn clone(&self) -> StatusTextType
Returns a duplicate 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 StatusTextType
impl Debug for StatusTextType
Source§impl Default for StatusTextType
impl Default for StatusTextType
Source§fn default() -> StatusTextType
fn default() -> StatusTextType
Returns the “default value” for a type. Read more
Source§impl From<StatusTextType> for i32
impl From<StatusTextType> for i32
Source§fn from(value: StatusTextType) -> i32
fn from(value: StatusTextType) -> i32
Converts to this type from the input type.
Source§impl Hash for StatusTextType
impl Hash for StatusTextType
Source§impl Ord for StatusTextType
impl Ord for StatusTextType
Source§fn cmp(&self, other: &StatusTextType) -> Ordering
fn cmp(&self, other: &StatusTextType) -> Ordering
1.21.0 · 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 StatusTextType
impl PartialEq for StatusTextType
Source§impl PartialOrd for StatusTextType
impl PartialOrd for StatusTextType
impl Copy for StatusTextType
impl Eq for StatusTextType
impl StructuralPartialEq for StatusTextType
Auto Trait Implementations§
impl Freeze for StatusTextType
impl RefUnwindSafe for StatusTextType
impl Send for StatusTextType
impl Sync for StatusTextType
impl Unpin for StatusTextType
impl UnwindSafe for StatusTextType
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request