Struct pudding_kernel::eventflag::Eventflag
source · [−]pub struct Eventflag { /* private fields */ }Implementations
sourceimpl 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 RefUnwindSafe for Eventflag
impl !Send for Eventflag
impl !Sync for Eventflag
impl Unpin for Eventflag
impl UnwindSafe for Eventflag
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more