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