pub struct EventOptions { /* private fields */ }Expand description
Registration-time event retention and source policy.
Implementations§
Source§impl EventOptions
impl EventOptions
Sourcepub fn frame(operation: StageOperation) -> Self
pub fn frame(operation: StageOperation) -> Self
Frame-scoped retention cleared after the given host operation finishes.
Sourcepub fn bounded(capacity: usize) -> Result<Self, EventRegistrationError>
pub fn bounded(capacity: usize) -> Result<Self, EventRegistrationError>
Bounded ring retention keeping the newest capacity payloads.
Sourcepub fn external_source(self) -> Self
pub fn external_source(self) -> Self
Marks the event as originating outside in-world producers for schedule validation.
Trait Implementations§
Source§impl Clone for EventOptions
impl Clone for EventOptions
Source§fn clone(&self) -> EventOptions
fn clone(&self) -> EventOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EventOptions
Source§impl Debug for EventOptions
impl Debug for EventOptions
impl Eq for EventOptions
Source§impl PartialEq for EventOptions
impl PartialEq for EventOptions
impl StructuralPartialEq for EventOptions
Auto Trait Implementations§
impl Freeze for EventOptions
impl RefUnwindSafe for EventOptions
impl Send for EventOptions
impl Sync for EventOptions
impl Unpin for EventOptions
impl UnsafeUnpin for EventOptions
impl UnwindSafe for EventOptions
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