Enum git_nomad::git_binary::LineArity
source · pub enum LineArity {
Zero(),
One(String),
Many(String),
}
Expand description
Utility to parse line based output of various git
sub-commands.
Variants§
Zero()
The command produced no lines.
One(String)
The command produced exactly one line.
Many(String)
The command produced two or more lines.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineArity
impl RefUnwindSafe for LineArity
impl Send for LineArity
impl Sync for LineArity
impl Unpin for LineArity
impl UnwindSafe for LineArity
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