Enum rustfmt::OperationError [−][src]
pub enum OperationError {
UnknownHelpTopic(String),
UnknownPrintConfigTopic(String),
MinimalPathWithStdin,
IoError(IoError),
CheckWithStdin,
EmitWithStdin,
}Expand description
Rustfmt operations errors.
Variants
UnknownHelpTopic(String)An unknown help topic was requested.
UnknownPrintConfigTopic(String)An unknown print-config option was requested.
Attempt to generate a minimal config from standard input.
IoError(IoError)An io error during reading or writing.
Attempt 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 OperationErrorimpl Send for OperationErrorimpl Sync for OperationErrorimpl Unpin for OperationErrorimpl !UnwindSafe for OperationErrorBlanket 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