#[non_exhaustive]pub enum EventSource {
External {
port: usize,
},
Previous {
port: u64,
},
}Expand description
Where a slot’s event input port takes events from.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
External
One of the chain’s external event inputs, by index.
Previous
An event output port of the previous slot, by native ID; it must be one of that slot’s collected outputs.
Trait Implementations§
Source§impl Clone for EventSource
impl Clone for EventSource
impl Copy for EventSource
Source§impl Debug for EventSource
impl Debug for EventSource
impl Eq for EventSource
Source§impl PartialEq for EventSource
impl PartialEq for EventSource
impl StructuralPartialEq for EventSource
Auto Trait Implementations§
impl Forget for EventSource
impl Freeze for EventSource
impl Move for EventSource
impl RefUnwindSafe for EventSource
impl Send for EventSource
impl Sync for EventSource
impl Unpin for EventSource
impl UnsafeUnpin for EventSource
impl UnwindSafe for EventSource
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