pub struct SharingMode(/* private fields */);
Expand description
Implementations§
Source§impl SharingMode
impl SharingMode
Source§impl SharingMode
impl SharingMode
pub const EXCLUSIVE: Self = _
pub const CONCURRENT: Self = _
Trait Implementations§
Source§impl Clone for SharingMode
impl Clone for SharingMode
Source§fn clone(&self) -> SharingMode
fn clone(&self) -> SharingMode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for SharingMode
impl Default for SharingMode
Source§fn default() -> SharingMode
fn default() -> SharingMode
Returns the “default value” for a type. Read more
Source§impl Hash for SharingMode
impl Hash for SharingMode
Source§impl Ord for SharingMode
impl Ord for SharingMode
Source§fn cmp(&self, other: &SharingMode) -> Ordering
fn cmp(&self, other: &SharingMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SharingMode
impl PartialEq for SharingMode
Source§impl PartialOrd for SharingMode
impl PartialOrd for SharingMode
impl Copy for SharingMode
impl Eq for SharingMode
impl StructuralPartialEq for SharingMode
Auto Trait Implementations§
impl Freeze for SharingMode
impl RefUnwindSafe for SharingMode
impl Send for SharingMode
impl Sync for SharingMode
impl Unpin for SharingMode
impl UnwindSafe for SharingMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)