pub enum PlatformLibdirSummary {
Available {
path: Utf8PathBuf,
},
Unavailable {
reason: PlatformLibdirUnavailable,
},
}
Expand description
Serialized representation of a platform’s library directory.
Variants§
Available
The libdir is available.
Fields
§
path: Utf8PathBuf
The libdir.
The libdir is unavailable, for the reason provided in the inner value.
Trait Implementations§
source§impl Clone for PlatformLibdirSummary
impl Clone for PlatformLibdirSummary
source§fn clone(&self) -> PlatformLibdirSummary
fn clone(&self) -> PlatformLibdirSummary
Returns a copy of the value. Read more
1.0.0 · 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 PlatformLibdirSummary
impl Debug for PlatformLibdirSummary
source§impl<'de> Deserialize<'de> for PlatformLibdirSummary
impl<'de> Deserialize<'de> for PlatformLibdirSummary
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
source§impl PartialEq for PlatformLibdirSummary
impl PartialEq for PlatformLibdirSummary
source§impl Serialize for PlatformLibdirSummary
impl Serialize for PlatformLibdirSummary
impl Eq for PlatformLibdirSummary
impl StructuralPartialEq for PlatformLibdirSummary
Auto Trait Implementations§
impl Freeze for PlatformLibdirSummary
impl RefUnwindSafe for PlatformLibdirSummary
impl Send for PlatformLibdirSummary
impl Sync for PlatformLibdirSummary
impl Unpin for PlatformLibdirSummary
impl UnwindSafe for PlatformLibdirSummary
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)