pub struct UnixSymlinkManager;Expand description
Unix系OS用の実装
Implementations§
Trait Implementations§
Source§impl Default for UnixSymlinkManager
Available on Unix only.
impl Default for UnixSymlinkManager
Available on Unix only.
Source§impl SymlinkManager for UnixSymlinkManager
Available on Unix only.
impl SymlinkManager for UnixSymlinkManager
Available on Unix only.
Source§fn create_symlink(
&self,
source: &Path,
target: &Path,
) -> TwinResult<SymlinkInfo>
fn create_symlink( &self, source: &Path, target: &Path, ) -> TwinResult<SymlinkInfo>
シンボリックリンクを作成
Source§fn remove_symlink(&self, path: &Path) -> TwinResult<()>
fn remove_symlink(&self, path: &Path) -> TwinResult<()>
シンボリックリンクを削除
Source§fn validate_symlink(&self, path: &Path) -> TwinResult<bool>
fn validate_symlink(&self, path: &Path) -> TwinResult<bool>
シンボリックリンクを検証
Auto Trait Implementations§
impl Freeze for UnixSymlinkManager
impl RefUnwindSafe for UnixSymlinkManager
impl Send for UnixSymlinkManager
impl Sync for UnixSymlinkManager
impl Unpin for UnixSymlinkManager
impl UnsafeUnpin for UnixSymlinkManager
impl UnwindSafe for UnixSymlinkManager
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