pub struct ProviderOperations { /* private fields */ }Expand description
Immutable set of concrete operation entry points implemented by a provider.
§Examples
use qubit_fs::spi::{ProviderOperation, ProviderOperations};
let ops = ProviderOperations::new().with(ProviderOperation::Stat);
assert!(ops.supports(ProviderOperation::Stat));Implementations§
Source§impl ProviderOperations
impl ProviderOperations
Trait Implementations§
Source§impl Clone for ProviderOperations
impl Clone for ProviderOperations
Source§fn clone(&self) -> ProviderOperations
fn clone(&self) -> ProviderOperations
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 ProviderOperations
Source§impl Debug for ProviderOperations
impl Debug for ProviderOperations
Source§impl Default for ProviderOperations
impl Default for ProviderOperations
Source§fn default() -> ProviderOperations
fn default() -> ProviderOperations
Returns the “default value” for a type. Read more
impl Eq for ProviderOperations
Source§impl PartialEq for ProviderOperations
impl PartialEq for ProviderOperations
impl StructuralPartialEq for ProviderOperations
Auto Trait Implementations§
impl Freeze for ProviderOperations
impl RefUnwindSafe for ProviderOperations
impl Send for ProviderOperations
impl Sync for ProviderOperations
impl Unpin for ProviderOperations
impl UnsafeUnpin for ProviderOperations
impl UnwindSafe for ProviderOperations
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