pub enum IncomingEvent {
Stop,
Input {
id: DataId,
metadata: Option<MetadataParameters>,
data: Option<Box<InputData>>,
},
InputClosed {
id: DataId,
},
AllInputsClosed,
}Expand description
An event that is sent to a node during an integration test.
This struct is very similar to the Event enum used during normal node operation.
Variants§
Trait Implementations§
Source§impl Debug for IncomingEvent
impl Debug for IncomingEvent
Source§impl<'de> Deserialize<'de> for IncomingEvent
impl<'de> Deserialize<'de> for IncomingEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IncomingEvent
impl PartialEq for IncomingEvent
Source§impl Serialize for IncomingEvent
impl Serialize for IncomingEvent
impl StructuralPartialEq for IncomingEvent
Auto Trait Implementations§
impl Freeze for IncomingEvent
impl RefUnwindSafe for IncomingEvent
impl Send for IncomingEvent
impl Sync for IncomingEvent
impl Unpin for IncomingEvent
impl UnwindSafe for IncomingEvent
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