pub enum MessageType {
Unknown = 0,
Ping = 1,
Broadcast = 2,
FileTransfer = 3,
Command = 4,
DelegateTask = 5,
RegisterKey = 6,
Create = 7,
Terminate = 8,
Run = 9,
Reply = 10,
}Available on crate feature
net only.Expand description
Enum for various types of messages exchanged between IAC server and agents.
Each variant corresponds to a specific operation type.
Variantsยง
Unknown = 0
Default/unknown type.
Ping = 1
Health check or keepalive signal.
Broadcast = 2
Broadcast a message to all agents or listeners.
FileTransfer = 3
Transfer a file as part of orchestration.
Command = 4
Send a command to be executed.
DelegateTask = 5
Delegate a task for remote execution.
RegisterKey = 6
Register a cryptographic key or identity.
Create = 7
Create a new agent.
Terminate = 8
Terminate an agent.
Run = 9
Run an agent.
Reply = 10
Reply from server to agent.
Implementationsยง
Sourceยงimpl MessageType
impl MessageType
Trait Implementationsยง
Sourceยงimpl Clone for MessageType
impl Clone for MessageType
Sourceยงfn clone(&self) -> MessageType
fn clone(&self) -> MessageType
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 MessageType
impl Debug for MessageType
Sourceยงimpl Default for MessageType
impl Default for MessageType
Sourceยงfn default() -> MessageType
fn default() -> MessageType
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl From<&str> for MessageType
impl From<&str> for MessageType
Sourceยงfn from(value: &str) -> MessageType
fn from(value: &str) -> MessageType
Converts to this type from the input type.
Sourceยงimpl PartialEq for MessageType
impl PartialEq for MessageType
impl Copy for MessageType
impl Eq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementationsยง
impl Freeze for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
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ยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Sourceยงfn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request