[][src]Struct potatonet::services::logger::LoggerClient

pub struct LoggerClient<'a, C> { /* fields omitted */ }

Methods

impl<'a, C> LoggerClient<'a, C> where
    C: Context
[src]

pub fn new(ctx: &'a C) -> LoggerClient<'a, C>[src]

pub fn with_name<N>(ctx: &'a C, name: N) -> LoggerClient<'a, C> where
    N: Into<String>, 
[src]

pub fn with_static_name(ctx: &'a C, name: &'static str) -> LoggerClient<'a, C>[src]

pub async fn log(&'_ self, item: Item)[src]

pub async fn query_latest(&'_ self, limit: usize) -> Result<Vec<Item>, Error>[src]

Auto Trait Implementations

impl<'a, C> RefUnwindSafe for LoggerClient<'a, C> where
    C: RefUnwindSafe

impl<'a, C> Send for LoggerClient<'a, C> where
    C: Sync

impl<'a, C> Sync for LoggerClient<'a, C> where
    C: Sync

impl<'a, C> Unpin for LoggerClient<'a, C>

impl<'a, C> UnwindSafe for LoggerClient<'a, C> where
    C: RefUnwindSafe

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<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,