pub enum TreeWorkerEvent {
StdOut {
node: String,
gateway: String,
data: Vec<u8>,
},
StdErr {
node: String,
gateway: String,
data: Vec<u8>,
},
Close {
node: String,
gateway: String,
rc: i32,
},
Timeout {
node: String,
gateway: String,
},
Routing {
event: String,
gateway: String,
targets: String,
},
}Expand description
Result from a remote node received through the tree.
Variants§
StdOut
Node produced stdout output.
StdErr
Node produced stderr output.
Close
Node completed with a return code.
Timeout
Node timed out.
Routing
Routing event (reroute, unreachable, etc.)
Trait Implementations§
Source§impl Clone for TreeWorkerEvent
impl Clone for TreeWorkerEvent
Auto Trait Implementations§
impl Freeze for TreeWorkerEvent
impl RefUnwindSafe for TreeWorkerEvent
impl Send for TreeWorkerEvent
impl Sync for TreeWorkerEvent
impl Unpin for TreeWorkerEvent
impl UnsafeUnpin for TreeWorkerEvent
impl UnwindSafe for TreeWorkerEvent
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