Struct teloxide::dispatching::dialogue::TraceStorage
source · pub struct TraceStorage<S> { /* private fields */ }
Expand description
A dialogue storage wrapper which logs all actions performed on an underlying storage.
Reports about any dialogue action via log::Level::Trace
.
Implementations§
Trait Implementations§
source§impl<S, D> Storage<D> for TraceStorage<S>where
D: Debug,
S: Storage<D> + Send + Sync + 'static,
impl<S, D> Storage<D> for TraceStorage<S>where
D: Debug,
S: Storage<D> + Send + Sync + 'static,
type Error = <S as Storage<D>>::Error
source§fn remove_dialogue(
self: Arc<Self>,
chat_id: ChatId
) -> BoxFuture<'static, Result<(), Self::Error>>where
D: Send + 'static,
fn remove_dialogue(
self: Arc<Self>,
chat_id: ChatId
) -> BoxFuture<'static, Result<(), Self::Error>>where
D: Send + 'static,
Removes a dialogue indexed by
chat_id
. Read more