pub struct Component {
pub name: &'static str,
pub runner: ComponentRunner,
pub logging: ComponentLogging,
}Fields§
§name: &'static strName accepted by the tau component <name> dispatcher.
runner: ComponentRunnerFunction that runs the component over stdin/stdout.
logging: ComponentLoggingOwner of the component’s tracing initialization.
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnsafeUnpin for Component
impl UnwindSafe for Component
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