pub struct BuildInfo {
pub version: &'static str,
pub commit: &'static str,
pub build_date: &'static str,
pub rustc: &'static str,
pub cargo: &'static str,
pub features: &'static [&'static str],
pub protocols: &'static [&'static str],
}Expand description
Compile-time and runtime information about a vane binary.
Constructed by each binary from its own build.rs-emitted env vars
and cfg!(feature = ...) introspection. See
spec/architecture/16-crate-layout.md.
Fields§
§version: &'static str§commit: &'static str§build_date: &'static str§rustc: &'static str§cargo: &'static str§features: &'static [&'static str]§protocols: &'static [&'static str]Auto Trait Implementations§
impl Freeze for BuildInfo
impl RefUnwindSafe for BuildInfo
impl Send for BuildInfo
impl Sync for BuildInfo
impl Unpin for BuildInfo
impl UnsafeUnpin for BuildInfo
impl UnwindSafe for BuildInfo
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