pub enum Parsed {
Run(KtlintArgs, Option<Subcommand>),
Message(String),
UsageError {
usage: String,
message: String,
},
}Variants§
Run(KtlintArgs, Option<Subcommand>)
Message(String)
Help or version text for stdout, exit 0.
UsageError
A usage error: the command’s usage line and the message, for stderr, exit 1.
Auto Trait Implementations§
impl Freeze for Parsed
impl RefUnwindSafe for Parsed
impl Send for Parsed
impl Sync for Parsed
impl Unpin for Parsed
impl UnsafeUnpin for Parsed
impl UnwindSafe for Parsed
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