pub struct BottleStatus {
pub path: PathBuf,
pub exists: bool,
pub valid_marker: bool,
pub libsystem: bool,
pub libcxx_alias: bool,
pub libcurl_alias: bool,
}Expand description
Snapshot of the registered bottle.
Fields§
§path: PathBufAbsolute path from the registry (directory name is user-chosen).
exists: boolWhether the path exists on disk.
valid_marker: boolWhether the path has a valid .kakehashi-bottle marker.
libsystem: boolWhether {path}/usr/lib/libSystem.B.dylib is present.
libcxx_alias: boolWhether {path}/usr/lib/libc++.1.dylib → libSystem.B.dylib alias exists.
libcurl_alias: boolWhether {path}/usr/lib/libcurl.4.dylib → libSystem.B.dylib alias exists.
Trait Implementations§
Source§impl Clone for BottleStatus
impl Clone for BottleStatus
Source§fn clone(&self) -> BottleStatus
fn clone(&self) -> BottleStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BottleStatus
impl Debug for BottleStatus
impl Eq for BottleStatus
Source§impl PartialEq for BottleStatus
impl PartialEq for BottleStatus
impl StructuralPartialEq for BottleStatus
Auto Trait Implementations§
impl Freeze for BottleStatus
impl RefUnwindSafe for BottleStatus
impl Send for BottleStatus
impl Sync for BottleStatus
impl Unpin for BottleStatus
impl UnsafeUnpin for BottleStatus
impl UnwindSafe for BottleStatus
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,
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.