pub enum Libc {
Gnu,
Musl,
None,
}Expand description
C runtime the binary was compiled against.
Compile-time (cfg!(target_env)), never runtime-detected: the only way to
read this at runtime is /etc/os-release or shelling to ldd, both of which
surface corporate golden-image vendor strings.
Variants§
Implementations§
Trait Implementations§
impl Copy for Libc
Source§impl<'de> Deserialize<'de> for Libc
impl<'de> Deserialize<'de> for Libc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Libc
impl StructuralPartialEq for Libc
Auto Trait Implementations§
impl Freeze for Libc
impl RefUnwindSafe for Libc
impl Send for Libc
impl Sync for Libc
impl Unpin for Libc
impl UnsafeUnpin for Libc
impl UnwindSafe for Libc
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.