pub struct RequestStateHazardBlocker { /* private fields */ }Implementations§
Source§impl RequestStateHazardBlocker
impl RequestStateHazardBlocker
pub const fn request(&self) -> RequestAuthorityId
pub fn resource_id(&self) -> &ResourceId
pub const fn requested_access(&self) -> RequestStateHazardAccess
pub const fn active_readers(&self) -> u32
pub const fn active_writer(&self) -> bool
pub const fn waiting_writers(&self) -> u32
pub const fn availability_generation(&self) -> u64
Trait Implementations§
Source§impl Clone for RequestStateHazardBlocker
impl Clone for RequestStateHazardBlocker
Source§fn clone(&self) -> RequestStateHazardBlocker
fn clone(&self) -> RequestStateHazardBlocker
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 moreSource§impl Debug for RequestStateHazardBlocker
impl Debug for RequestStateHazardBlocker
impl Eq for RequestStateHazardBlocker
impl StructuralPartialEq for RequestStateHazardBlocker
Auto Trait Implementations§
impl Freeze for RequestStateHazardBlocker
impl RefUnwindSafe for RequestStateHazardBlocker
impl Send for RequestStateHazardBlocker
impl Sync for RequestStateHazardBlocker
impl Unpin for RequestStateHazardBlocker
impl UnsafeUnpin for RequestStateHazardBlocker
impl UnwindSafe for RequestStateHazardBlocker
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