pub struct ProcessMonitorState {
pub command: Command,
pub process_status: ProcessStatus,
}
Fields§
§command: Command
§process_status: ProcessStatus
Implementations§
Trait Implementations§
Source§impl Clone for ProcessMonitorState
impl Clone for ProcessMonitorState
Source§fn clone(&self) -> ProcessMonitorState
fn clone(&self) -> ProcessMonitorState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProcessMonitorState
impl Debug for ProcessMonitorState
Source§impl<'de> Deserialize<'de> for ProcessMonitorState
impl<'de> Deserialize<'de> for ProcessMonitorState
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 Flow for ProcessMonitorState
impl Flow for ProcessMonitorState
Source§type Action = ProcessMonitorAction
type Action = ProcessMonitorAction
ControlEvent
- that send from a client to a serverSource§type Event = ProcessMonitorEvent
type Event = ProcessMonitorEvent
UpdateEvent
- that sent from a server to a clientfn stream_type() -> StreamType
fn apply(&mut self, event: TimedEvent<Self::Event>)
fn pack_state(&self) -> Result<PackedState, Error>
fn unpack_state(data: &PackedState) -> Result<Self, Error>
fn pack_event(delta: &TimedEvent<Self::Event>) -> Result<PackedEvent, Error>
fn unpack_event(data: &PackedEvent) -> Result<TimedEvent<Self::Event>, Error>
fn pack_action(action: &Self::Action) -> Result<PackedAction, Error>
fn unpack_action(data: &PackedAction) -> Result<Self::Action, Error>
Auto Trait Implementations§
impl Freeze for ProcessMonitorState
impl RefUnwindSafe for ProcessMonitorState
impl Send for ProcessMonitorState
impl Sync for ProcessMonitorState
impl Unpin for ProcessMonitorState
impl UnwindSafe for ProcessMonitorState
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