pub enum CallbackModel {
Evoked,
Immediate,
}Expand description
How callbacks reach the federate ambassador (4.2, 10.57 to 10.60).
Variants§
Evoked
Callbacks wait until the federate calls Evoke Callback or Evoke Multiple Callbacks.
Immediate
Callbacks are delivered as they arrive, on a thread owned by the RTI ambassador.
Implementations§
Source§impl CallbackModel
impl CallbackModel
Sourcepub const ALL: &'static [CallbackModel]
pub const ALL: &'static [CallbackModel]
Every value, in the order of the standard’s enumeration.
Trait Implementations§
Source§impl Clone for CallbackModel
impl Clone for CallbackModel
impl Copy for CallbackModel
Source§impl Debug for CallbackModel
impl Debug for CallbackModel
impl Eq for CallbackModel
Source§impl Hash for CallbackModel
impl Hash for CallbackModel
Source§impl Ord for CallbackModel
impl Ord for CallbackModel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CallbackModel
impl PartialEq for CallbackModel
Source§impl PartialOrd for CallbackModel
impl PartialOrd for CallbackModel
impl StructuralPartialEq for CallbackModel
Source§impl TryFrom<i32> for CallbackModel
CallbackModel values arriving from configuration files or other languages are validated here: anything
else than the two standard models is an UnsupportedCallbackModel.
impl TryFrom<i32> for CallbackModel
CallbackModel values arriving from configuration files or other languages are validated here: anything
else than the two standard models is an UnsupportedCallbackModel.
Auto Trait Implementations§
impl Forget for CallbackModel
impl Freeze for CallbackModel
impl Move for CallbackModel
impl RefUnwindSafe for CallbackModel
impl Send for CallbackModel
impl Sync for CallbackModel
impl Unpin for CallbackModel
impl UnsafeUnpin for CallbackModel
impl UnwindSafe for CallbackModel
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