pub struct LinkSupport {
pub symlink_file: bool,
pub symlink_dir: bool,
pub junction: bool,
}Expand description
Which link primitives the host filesystem actually allows right now.
Probed once per run rather than assumed from the target triple: on Windows symlink creation depends on Developer Mode or an elevated process, so two machines with the same OS can differ.
Fields§
§symlink_file: bool§symlink_dir: bool§junction: boolImplementations§
Source§impl LinkSupport
impl LinkSupport
Sourcepub const JUNCTION_ONLY: Self
pub const JUNCTION_ONLY: Self
Windows without symlink privileges: junctions still work for directories.
Trait Implementations§
Source§impl Clone for LinkSupport
impl Clone for LinkSupport
Source§fn clone(&self) -> LinkSupport
fn clone(&self) -> LinkSupport
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 moreimpl Copy for LinkSupport
Source§impl Debug for LinkSupport
impl Debug for LinkSupport
impl Eq for LinkSupport
Source§impl PartialEq for LinkSupport
impl PartialEq for LinkSupport
impl StructuralPartialEq for LinkSupport
Auto Trait Implementations§
impl Freeze for LinkSupport
impl RefUnwindSafe for LinkSupport
impl Send for LinkSupport
impl Sync for LinkSupport
impl Unpin for LinkSupport
impl UnsafeUnpin for LinkSupport
impl UnwindSafe for LinkSupport
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