pub enum Payload {
Setting(Payload),
Controller(Payload),
Agent(Payload),
Event(Payload),
Job(Payload),
Storage(Payload),
}
Expand description
The types of data that can be sent through the service MessageHub
. This
enumeration is meant to provide a top level definition. Further definitions
for particular domains should be located in the appropriate mod.
Variants§
Setting(Payload)
The Setting type captures communication pertaining to settings, including requests to access/change settings and the associated responses.
Controller(Payload)
The communication to and from a controller to handle requests and lifetime.
Agent(Payload)
Agent payloads contain communication between the agent authority and individual agents.
Event(Payload)
Event payloads contain data about events that occur throughout the system.
Job(Payload)
Job payloads contain information related to new sources of jobs to be executed.
Storage(Payload)
Storage payloads contain read and write requests to storage and their responses.
Trait Implementations§
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl Freeze for Payload
impl !RefUnwindSafe for Payload
impl !Send for Payload
impl !Sync for Payload
impl Unpin for Payload
impl !UnwindSafe for Payload
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)