pub struct StyleRefused {
pub reason: String,
}Expand description
clang-format refused the configuration written from [fmt]: a
settings problem, not one in the code.
Fields§
§reason: StringWhat clang-format said, with the scratch file’s path left out.
Trait Implementations§
Source§impl CunoError for StyleRefused
impl CunoError for StyleRefused
Source§impl Debug for StyleRefused
impl Debug for StyleRefused
Source§impl Display for StyleRefused
impl Display for StyleRefused
Source§impl Error for StyleRefused
impl Error for StyleRefused
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Forget for StyleRefused
impl Freeze for StyleRefused
impl Move for StyleRefused
impl RefUnwindSafe for StyleRefused
impl Send for StyleRefusedwhere
RawVecInner: Send,
impl Sync for StyleRefusedwhere
RawVecInner: Sync,
impl Unpin for StyleRefused
impl UnsafeUnpin for StyleRefused
impl UnwindSafe for StyleRefusedwhere
RawVecInner: UnwindSafe,
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