pub struct BasicCheck;Expand description
Check strategy that defers synchronization to the caller.
Trait Implementations§
Source§impl CheckedPolicy for BasicCheck
impl CheckedPolicy for BasicCheck
Source§fn assert_initialized(state: &Self::State)
fn assert_initialized(state: &Self::State)
Asserts that the instance has been initialized. Read more
Source§impl Policy for BasicCheck
impl Policy for BasicCheck
Source§const UNINIT_STATE: Self::State
const UNINIT_STATE: Self::State
An instance of state in the uninitialized condition.
Auto Trait Implementations§
impl Freeze for BasicCheck
impl RefUnwindSafe for BasicCheck
impl Send for BasicCheck
impl Sync for BasicCheck
impl Unpin for BasicCheck
impl UnsafeUnpin for BasicCheck
impl UnwindSafe for BasicCheck
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), !>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), !>
Initializes
slot. Read moreSource§fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E>where
F: FnOnce(Pin<&mut T>) -> Result<(), E>,
fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E>where
F: FnOnce(Pin<&mut T>) -> Result<(), E>,
First initializes the value using
self then calls the function f with the initialized
value. Read more