Enum rust_corosync::DispatchFlags
source · [−]pub enum DispatchFlags {
One,
All,
Blocking,
OneNonblocking,
}Expand description
Flags to use with dispatch functions, eg cpg::dispatch One will dispatch a single callback (blocking) and return. All will loop trying to dispatch all possible callbacks. Blocking is like All but will block between callbacks. OneNonBlocking will dispatch a single callback only if one is available, otherwise it will return even if no callback is available.
Variants
One
All
Blocking
OneNonblocking
Trait Implementations
sourceimpl Clone for DispatchFlags
impl Clone for DispatchFlags
sourcefn clone(&self) -> DispatchFlags
fn clone(&self) -> DispatchFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DispatchFlags
Auto Trait Implementations
impl RefUnwindSafe for DispatchFlags
impl Send for DispatchFlags
impl Sync for DispatchFlags
impl Unpin for DispatchFlags
impl UnwindSafe for DispatchFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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