pub enum PipelineTimed {
Timed(TokenLocation),
TimedWithPosixOutput(TokenLocation),
}Expand description
The type of timing requested for a pipeline.
Variants§
Timed(TokenLocation)
The pipeline should be timed with bash-like output.
TimedWithPosixOutput(TokenLocation)
The pipeline should be timed with POSIX-like output.
Implementations§
Source§impl PipelineTimed
impl PipelineTimed
Sourcepub const fn is_posix_output(&self) -> bool
pub const fn is_posix_output(&self) -> bool
Returns true if the pipeline should be timed with POSIX-like output.
Trait Implementations§
Source§impl Clone for PipelineTimed
impl Clone for PipelineTimed
Source§fn clone(&self) -> PipelineTimed
fn clone(&self) -> PipelineTimed
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PipelineTimed
impl Debug for PipelineTimed
Source§impl SourceLocation for PipelineTimed
impl SourceLocation for PipelineTimed
Source§fn location(&self) -> Option<TokenLocation>
fn location(&self) -> Option<TokenLocation>
The location of the syntax item, when known
Auto Trait Implementations§
impl Freeze for PipelineTimed
impl RefUnwindSafe for PipelineTimed
impl Send for PipelineTimed
impl Sync for PipelineTimed
impl Unpin for PipelineTimed
impl UnwindSafe for PipelineTimed
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