pub struct ResolvedCopyOptions { /* private fields */ }Expand description
Immutable options resolved by the facade before provider dispatch.
§Examples
use qubit_fs::copy::CopyOptions;
use qubit_fs::metadata::SymlinkPolicy;
use qubit_fs::spi::ResolvedCopyOptions;
let options = CopyOptions::default();
assert!(std::any::type_name::<ResolvedCopyOptions>().contains("ResolvedCopyOptions"));
assert_eq!(SymlinkPolicy::Reject, SymlinkPolicy::Reject);
let _ = options;Implementations§
Source§impl ResolvedCopyOptions
impl ResolvedCopyOptions
Sourcepub const fn options(&self) -> &CopyOptions
pub const fn options(&self) -> &CopyOptions
Returns the resolved options.
Sourcepub const fn symlink_policy(&self) -> SymlinkPolicy
pub const fn symlink_policy(&self) -> SymlinkPolicy
Returns the effective symbolic-link policy.
Trait Implementations§
Source§impl Clone for ResolvedCopyOptions
impl Clone for ResolvedCopyOptions
Source§fn clone(&self) -> ResolvedCopyOptions
fn clone(&self) -> ResolvedCopyOptions
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 moreAuto Trait Implementations§
impl Freeze for ResolvedCopyOptions
impl RefUnwindSafe for ResolvedCopyOptions
impl Send for ResolvedCopyOptions
impl Sync for ResolvedCopyOptions
impl Unpin for ResolvedCopyOptions
impl UnsafeUnpin for ResolvedCopyOptions
impl UnwindSafe for ResolvedCopyOptions
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