Struct core_crypto::BuildMetadata
source · pub struct BuildMetadata {
pub timestamp: &'static str,
pub cargo_debug: &'static str,
pub cargo_features: &'static str,
pub opt_level: &'static str,
pub target_triple: &'static str,
pub git_branch: &'static str,
pub git_describe: &'static str,
pub git_sha: &'static str,
pub git_dirty: &'static str,
}
Expand description
Metadata describing the conditions of the build of this software.
Fields§
§timestamp: &'static str
Build Timestamp
cargo_debug: &'static str
Whether this build was in Debug mode (true) or Release mode (false)
cargo_features: &'static str
Features enabled for this build
opt_level: &'static str
Optimization level
target_triple: &'static str
Build target triple
git_branch: &'static str
Git branch
git_describe: &'static str
Output of git describe
git_sha: &'static str
Hash of current git commit
git_dirty: &'static str
true
when the source code differed from the commit at the most recent git hash
Auto Trait Implementations§
impl Freeze for BuildMetadata
impl RefUnwindSafe for BuildMetadata
impl Send for BuildMetadata
impl Sync for BuildMetadata
impl Unpin for BuildMetadata
impl UnwindSafe for BuildMetadata
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read moresource§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