pub struct LogSender;Expand description
Development sender that logs rendered content.
Trait Implementations§
Source§impl Sender for LogSender
impl Sender for LogSender
Source§fn send<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_context: &'life1 DeliveryContext,
recipient: &'life2 str,
notification: &'life3 Notification,
) -> Pin<Box<dyn Future<Output = Result<(), NotifyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn send<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_context: &'life1 DeliveryContext,
recipient: &'life2 str,
notification: &'life3 Notification,
) -> Pin<Box<dyn Future<Output = Result<(), NotifyError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Performs exactly one bounded delivery attempt.
Auto Trait Implementations§
impl Freeze for LogSender
impl RefUnwindSafe for LogSender
impl Send for LogSender
impl Sync for LogSender
impl Unpin for LogSender
impl UnsafeUnpin for LogSender
impl UnwindSafe for LogSender
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