pub struct FileOutput { /* private fields */ }Implementations§
Trait Implementations§
impl Output for FileOutput
Source§impl ReplayableStage for FileOutput
impl ReplayableStage for FileOutput
Source§impl Stage for FileOutput
impl Stage for FileOutput
fn execute(&mut self, event: Event) -> Result<Option<Event>, PipelineError>
fn name(&self) -> &str
fn is_output(&self) -> bool
Source§fn to_replay_spec(&self) -> Option<StageSpec>
fn to_replay_spec(&self) -> Option<StageSpec>
Optional support for structural replay specs.
Returning Some allows the stage to participate in PipelineReplaySpec roundtrips.
Source§fn is_validator(&self) -> bool
fn is_validator(&self) -> bool
Whether this stage enforces validation by rejecting invalid events.
Validator stages (RequiredFields, TypeChecking, ValueConstraints) override
this to
true. Used by Pipeline::require_validation to fail closed.Auto Trait Implementations§
impl Freeze for FileOutput
impl RefUnwindSafe for FileOutput
impl Send for FileOutput
impl Sync for FileOutput
impl Unpin for FileOutput
impl UnsafeUnpin for FileOutput
impl UnwindSafe for FileOutput
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