pub struct SinkContext {
pub id: ComponentId,
pub in_rx: BufferReceiver,
pub shutdown: ShutdownSignal,
pub acknowledgements: AcknowledgementsConfig,
pub data_dir: Option<PathBuf>,
}Expand description
Context provided to sink components during the build process.
Fields§
§id: ComponentId§in_rx: BufferReceiver§shutdown: ShutdownSignal§acknowledgements: AcknowledgementsConfig§data_dir: Option<PathBuf>Auto Trait Implementations§
impl Freeze for SinkContext
impl !RefUnwindSafe for SinkContext
impl Send for SinkContext
impl Sync for SinkContext
impl Unpin for SinkContext
impl UnsafeUnpin for SinkContext
impl !UnwindSafe for SinkContext
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