Struct nix_compat::nix_daemon::types::NixError
source · pub struct NixError {
type_: &'static str,
level: u64,
name: &'static str,
msg: String,
have_pos: IgnoredZero,
traces: Vec<TraceLine>,
exit_status: u64,
}
Expand description
Represents an error returned by the nix-daemon to its client.
Adheres to the format described in serialization.md
Fields§
§type_: &'static str
§level: u64
§name: &'static str
§msg: String
§have_pos: IgnoredZero
§traces: Vec<TraceLine>
§exit_status: u64
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NixError
impl RefUnwindSafe for NixError
impl Send for NixError
impl Sync for NixError
impl Unpin for NixError
impl UnwindSafe for NixError
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