pub enum GuffError {
Css(String),
PathExt,
PathUtf8,
Scss(String),
SourceFileName,
SourceInvalid,
}Expand description
§Error type.
Variants§
Css(String)
§CSS Parse Error.
PathExt
§Invalid Path Extension.
PathUtf8
§Invalid Path UTF-8.
Scss(String)
§SCSS Parse Error.
SourceFileName
§Source File Name.
SourceInvalid
§Invalid Source.
Implementations§
Trait Implementations§
Source§impl Error for GuffError
impl Error for GuffError
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()
Source§impl From<Error<MinifyErrorKind>> for GuffError
impl From<Error<MinifyErrorKind>> for GuffError
Source§fn from(err: Error<MinifyErrorKind>) -> Self
fn from(err: Error<MinifyErrorKind>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GuffError
impl RefUnwindSafe for GuffError
impl Send for GuffError
impl Sync for GuffError
impl Unpin for GuffError
impl UnwindSafe for GuffError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more