pub enum Msg {
Show 20 variants
Send(SendMsg),
Stream(StreamMsg),
Ping(Ping),
Hub(HubMsg),
Sessions(Sessions),
Kill(KillMsg),
Tasks(Tasks),
KillTask(KillTaskMsg),
Approve(ApproveMsg),
SubscribeTasks(SubscribeTasks),
Downloads(Downloads),
SubscribeDownloads(SubscribeDownloads),
GetConfig(GetConfig),
SetConfig(SetConfigMsg),
ServiceQuery(ServiceQueryMsg),
GetServiceSchema(GetServiceSchemaMsg),
GetAllSchemas(GetAllSchemasMsg),
GetServices(GetServicesMsg),
SetServiceConfig(SetServiceConfigMsg),
Reload(ReloadMsg),
}Variants§
Send(SendMsg)
Stream(StreamMsg)
Ping(Ping)
Hub(HubMsg)
Sessions(Sessions)
Kill(KillMsg)
Tasks(Tasks)
KillTask(KillTaskMsg)
Approve(ApproveMsg)
SubscribeTasks(SubscribeTasks)
Field 10 removed — reserved to prevent accidental reuse.
Downloads(Downloads)
SubscribeDownloads(SubscribeDownloads)
GetConfig(GetConfig)
SetConfig(SetConfigMsg)
ServiceQuery(ServiceQueryMsg)
GetServiceSchema(GetServiceSchemaMsg)
GetAllSchemas(GetAllSchemasMsg)
GetServices(GetServicesMsg)
SetServiceConfig(SetServiceConfigMsg)
Reload(ReloadMsg)
Implementations§
Source§impl Msg
impl Msg
Sourcepub fn merge(
field: &mut Option<Msg>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Msg>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Msg
impl<'de> Deserialize<'de> for Msg
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
impl StructuralPartialEq for Msg
Auto Trait Implementations§
impl Freeze for Msg
impl RefUnwindSafe for Msg
impl Send for Msg
impl Sync for Msg
impl Unpin for Msg
impl UnsafeUnpin for Msg
impl UnwindSafe for Msg
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