#[non_exhaustive]pub struct EventInputRoute {
pub port: u64,
pub source: EventSource,
}Expand description
One source delivered to a native event input port. Several routes to one port merge in offset order; at equal offsets, events keep the order of the routes, then their source order.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.port: u64Native input port ID receiving this route.
source: EventSourceExternal input or collected output of the preceding slot.
Implementations§
Source§impl EventInputRoute
impl EventInputRoute
Sourcepub const fn new(port: u64, source: EventSource) -> EventInputRoute
pub const fn new(port: u64, source: EventSource) -> EventInputRoute
Native event input port fed from source.
Trait Implementations§
Source§impl Clone for EventInputRoute
impl Clone for EventInputRoute
impl Copy for EventInputRoute
Source§impl Debug for EventInputRoute
impl Debug for EventInputRoute
impl Eq for EventInputRoute
Source§impl PartialEq for EventInputRoute
impl PartialEq for EventInputRoute
impl StructuralPartialEq for EventInputRoute
Auto Trait Implementations§
impl Forget for EventInputRoute
impl Freeze for EventInputRoute
impl Move for EventInputRoute
impl RefUnwindSafe for EventInputRoute
impl Send for EventInputRoute
impl Sync for EventInputRoute
impl Unpin for EventInputRoute
impl UnsafeUnpin for EventInputRoute
impl UnwindSafe for EventInputRoute
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