pub struct CloudDrainHandle<M> { /* private fields */ }Expand description
Handle for a cloud log drain.
Implementations§
Source§impl<M> CloudDrainHandle<M>
impl<M> CloudDrainHandle<M>
Sourcepub fn blocking_flush(&self)
pub fn blocking_flush(&self)
Flush any pending log messages.
§Panics
The method panics if called from an asynchronous execution context.
Auto Trait Implementations§
impl<M> Freeze for CloudDrainHandle<M>where
MessageQueueSender<M>: Freeze,
impl<M> RefUnwindSafe for CloudDrainHandle<M>where
MessageQueueSender<M>: RefUnwindSafe,
impl<M> Send for CloudDrainHandle<M>where
MessageQueueSender<M>: Send,
impl<M> Sync for CloudDrainHandle<M>where
MessageQueueSender<M>: Sync,
impl<M> Unpin for CloudDrainHandle<M>where
MessageQueueSender<M>: Unpin,
impl<M> UnsafeUnpin for CloudDrainHandle<M>where
MessageQueueSender<M>: UnsafeUnpin,
impl<M> UnwindSafe for CloudDrainHandle<M>where
MessageQueueSender<M>: UnwindSafe,
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