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§
Trait Implementations§
source§impl Clone for DispatchFlags
impl Clone for DispatchFlags
source§fn clone(&self) -> DispatchFlags
fn clone(&self) -> DispatchFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more