#[repr(u64)]pub enum NSDataReadingOptions {
MappedIfSafe = 1,
Uncached = 2,
MappedAlways = 8,
}
Expand description
Options for methods used to read data objects.
Variants§
MappedIfSafe = 1
Uncached = 2
A hint indicating the file should not be stored in the file-system caches.
MappedAlways = 8
Hint to map the file in if possible.
Trait Implementations§
Source§impl Clone for NSDataReadingOptions
impl Clone for NSDataReadingOptions
Source§fn clone(&self) -> NSDataReadingOptions
fn clone(&self) -> NSDataReadingOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NSDataReadingOptions
impl Debug for NSDataReadingOptions
impl Copy for NSDataReadingOptions
Auto Trait Implementations§
impl Freeze for NSDataReadingOptions
impl RefUnwindSafe for NSDataReadingOptions
impl Send for NSDataReadingOptions
impl Sync for NSDataReadingOptions
impl Unpin for NSDataReadingOptions
impl UnwindSafe for NSDataReadingOptions
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