pub struct MonitoredSpinlockGuardState {
pub interrupt_state: InterruptSavedState,
pub tag: SourceTag,
}Expand description
Saved interrupt state and source tag for a held RawMonitoredSpinlock.
Fields§
§interrupt_state: InterruptSavedState§tag: SourceTagTrait Implementations§
Source§impl Clone for MonitoredSpinlockGuardState
impl Clone for MonitoredSpinlockGuardState
Source§fn clone(&self) -> MonitoredSpinlockGuardState
fn clone(&self) -> MonitoredSpinlockGuardState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MonitoredSpinlockGuardState
Source§impl Default for MonitoredSpinlockGuardState
impl Default for MonitoredSpinlockGuardState
Source§fn default() -> MonitoredSpinlockGuardState
fn default() -> MonitoredSpinlockGuardState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MonitoredSpinlockGuardState
impl RefUnwindSafe for MonitoredSpinlockGuardState
impl Send for MonitoredSpinlockGuardState
impl Sync for MonitoredSpinlockGuardState
impl Unpin for MonitoredSpinlockGuardState
impl UnsafeUnpin for MonitoredSpinlockGuardState
impl UnwindSafe for MonitoredSpinlockGuardState
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§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