Enum x_core::SystemError [−][src]
A system error that happened while running a lint.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fields of Exec
cmd: &'static str
status: ExitStatus
Fields of FromHex
context: Cow<'static, str>
err: FromHexError
Fields of HakariCargoToml
context: Cow<'static, str>
err: CargoTomlError
Fields of HakariTomlOut
context: Cow<'static, str>
err: TomlOutError
Implementations
impl SystemError
[src]
pub fn io(context: impl Into<Cow<'static, str>>, err: Error) -> Self
[src]
pub fn guppy(context: impl Into<Cow<'static, str>>, err: Error) -> Self
[src]
pub fn git_root(msg: impl Into<Cow<'static, str>>) -> Self
[src]
pub fn from_hex(
context: impl Into<Cow<'static, str>>,
err: FromHexError
) -> Self
[src]
context: impl Into<Cow<'static, str>>,
err: FromHexError
) -> Self
pub fn hakari_cargo_toml(
context: impl Into<Cow<'static, str>>,
err: CargoTomlError
) -> Self
[src]
context: impl Into<Cow<'static, str>>,
err: CargoTomlError
) -> Self
pub fn hakari_toml_out(
context: impl Into<Cow<'static, str>>,
err: TomlOutError
) -> Self
[src]
context: impl Into<Cow<'static, str>>,
err: TomlOutError
) -> Self
pub fn de(
context: impl Into<Cow<'static, str>>,
err: impl Error + Send + Sync + 'static
) -> Self
[src]
context: impl Into<Cow<'static, str>>,
err: impl Error + Send + Sync + 'static
) -> Self
pub fn ser(
context: impl Into<Cow<'static, str>>,
err: impl Error + Send + Sync + 'static
) -> Self
[src]
context: impl Into<Cow<'static, str>>,
err: impl Error + Send + Sync + 'static
) -> Self
pub fn target_spec(
context: impl Into<Cow<'static, str>>,
err: TargetSpecError
) -> Self
[src]
context: impl Into<Cow<'static, str>>,
err: TargetSpecError
) -> Self
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SystemError
impl Send for SystemError
impl Sync for SystemError
impl Unpin for SystemError
impl !UnwindSafe for SystemError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> SafeBorrow<T> for T where
T: ?Sized,
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,