[][src]Enum gcp_client::google::cloud::iot::v1::LogLevel

#[repr(i32)]pub enum LogLevel {
    Unspecified,
    None,
    Error,
    Info,
    Debug,
}

Beta Feature

The logging verbosity for device activity. Specifies which events should be written to logs. For example, if the LogLevel is ERROR, only events that terminate in errors will be logged. LogLevel is inclusive; enabling INFO logging will also enable ERROR logging.

Variants

Unspecified

No logging specified. If not specified, logging will be disabled.

None

Disables logging.

Error

Error events will be logged.

Info

Informational events will be logged, such as connections and disconnections.

Debug

All events will be logged.

Implementations

impl LogLevel[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of LogLevel.

pub fn from_i32(value: i32) -> Option<LogLevel>[src]

Converts an i32 to a LogLevel, or None if value is not a valid variant.

Trait Implementations

impl Clone for LogLevel[src]

impl Copy for LogLevel[src]

impl Debug for LogLevel[src]

impl Default for LogLevel[src]

impl Eq for LogLevel[src]

impl From<LogLevel> for i32[src]

impl Hash for LogLevel[src]

impl Ord for LogLevel[src]

impl PartialEq<LogLevel> for LogLevel[src]

impl PartialOrd<LogLevel> for LogLevel[src]

impl StructuralEq for LogLevel[src]

impl StructuralPartialEq for LogLevel[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]