Enum rustfmt::OperationError [−][src]
pub enum OperationError {
UnknownHelpTopic(String),
UnknownPrintConfigTopic(String),
MinimalPathWithStdin,
IoError(IoError),
CheckWithStdin,
EmitWithStdin,
}Expand description
Rustfmt operations errors.
Variants
An unknown help topic was requested.
Tuple Fields of UnknownHelpTopic
0: StringAn unknown print-config option was requested.
Tuple Fields of UnknownPrintConfigTopic
0: StringAttempt to generate a minimal config from standard input.
An io error during reading or writing.
Tuple Fields of IoError
0: IoErrorAttempt to use –check with stdin, which isn’t currently supported.
Attempt to use –emit=json with stdin, which isn’t currently supported.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for OperationError
impl Send for OperationError
impl Sync for OperationError
impl Unpin for OperationError
impl !UnwindSafe for OperationError
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes