pub struct MutexInfo { /* private fields */ }Expand description
One row of C’s epicsMutexShow (epicsMutex.cpp:118-127).
Implementations§
Source§impl MutexInfo
impl MutexInfo
Sourcepub fn addr(&self) -> usize
pub fn addr(&self) -> usize
C prints the node address as the mutex’s identity; this is that address, and it is stable for the mutex’s whole life.
pub fn line(&self) -> u32
Sourcepub fn show_lines(&self, level: u32) -> Vec<String>
pub fn show_lines(&self, level: u32) -> Vec<String>
C epicsMutexShow plus, above level 0, epicsMutexOsdShow
(os/posix/osdMutex.c:188-195).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MutexInfo
impl RefUnwindSafe for MutexInfo
impl Send for MutexInfo
impl Sync for MutexInfo
impl Unpin for MutexInfo
impl UnsafeUnpin for MutexInfo
impl UnwindSafe for MutexInfo
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