pub struct Eventflag { /* private fields */ }Implementations§
Source§impl Eventflag
impl Eventflag
pub const fn new(init_pattern: FlagPattern) -> Self
pub fn set_flag(&mut self, pattern: FlagPattern)
pub fn clear_flag(&mut self, pattern: FlagPattern)
pub fn wait(&mut self, wait_pattern: FlagPattern, wait_mode: WaitFlagMode)
pub fn polling( &mut self, wait_pattern: FlagPattern, wait_mode: WaitFlagMode, ) -> Result<(), Error>
pub fn wait_with_timeout( &mut self, wait_pattern: FlagPattern, wait_mode: WaitFlagMode, time: RelativeTime, ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for Eventflag
impl RefUnwindSafe for Eventflag
impl !Send for Eventflag
impl !Sync for Eventflag
impl Unpin for Eventflag
impl UnwindSafe for Eventflag
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