Enum dora_core::daemon_messages::DaemonRequest
source · pub enum DaemonRequest {
Register {
dataflow_id: DataflowId,
node_id: NodeId,
dora_version: String,
},
Subscribe,
SendMessage {
output_id: DataId,
metadata: Metadata,
data: Option<DataMessage>,
},
CloseOutputs(Vec<DataId>),
OutputsDone,
NextEvent {
drop_tokens: Vec<DropToken>,
},
ReportDropTokens {
drop_tokens: Vec<DropToken>,
},
SubscribeDrop,
NextFinishedDropTokens,
EventStreamDropped,
NodeConfig {
node_id: NodeId,
},
}Variants§
Register
Subscribe
SendMessage
CloseOutputs(Vec<DataId>)
OutputsDone
Signals that the node is finished sending outputs and that it received all required drop tokens.
NextEvent
ReportDropTokens
SubscribeDrop
NextFinishedDropTokens
EventStreamDropped
NodeConfig
Implementations§
source§impl DaemonRequest
impl DaemonRequest
pub fn expects_tcp_bincode_reply(&self) -> bool
pub fn expects_tcp_json_reply(&self) -> bool
Trait Implementations§
source§impl Debug for DaemonRequest
impl Debug for DaemonRequest
source§impl<'de> Deserialize<'de> for DaemonRequest
impl<'de> Deserialize<'de> for DaemonRequest
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
Auto Trait Implementations§
impl Freeze for DaemonRequest
impl RefUnwindSafe for DaemonRequest
impl Send for DaemonRequest
impl Sync for DaemonRequest
impl Unpin for DaemonRequest
impl UnwindSafe for DaemonRequest
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more