pub struct SinkHandle {
pub sink: Box<dyn AsyncSink + 'static>,
}Expand description
Handle wrapping a boxed async sink instance.
Returned by SinkFactory::build and used by the orchestrator to
manage sink lifecycle and data flow.
Fields§
§sink: Box<dyn AsyncSink + 'static>The boxed sink implementing AsyncSink
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SinkHandle
impl !RefUnwindSafe for SinkHandle
impl Send for SinkHandle
impl Sync for SinkHandle
impl Unpin for SinkHandle
impl !UnwindSafe for SinkHandle
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