Enum dataflow::source::FileReadStyle [−][src]
pub enum FileReadStyle {
ReadOnce,
TailFollowFd,
}
Expand description
Strategies for streaming content from a file.
Variants
ReadOnce
File is read once and marked complete once the last line is read.
TailFollowFd
File is read and continually checked for new content, indefinitely.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileReadStyle
impl Send for FileReadStyle
impl Sync for FileReadStyle
impl Unpin for FileReadStyle
impl UnwindSafe for FileReadStyle
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more