#[repr(u8)]pub enum Proposal {
DelegateMessage(DelegateMessage),
SetState(SetState),
LoadTopic(LoadTopic),
UnloadTopic(UnloadTopic),
EpOnline(EndpointOnline),
EpOffline(EndpointOffline),
EpInterest(EndpointInterest),
AckFinished(AckFinished),
}Variants§
DelegateMessage(DelegateMessage)
Hold Message: edge node ask cluster node to hold a message.
SetState(SetState)
Set State: set ack state
LoadTopic(LoadTopic)
Load Queue: load messages into the topic queue.
UnloadTopic(UnloadTopic)
EpOnline(EndpointOnline)
Ep Online: report endpoint online.
EpOffline(EndpointOffline)
Ep Offline: report endpoint offline.
EpInterest(EndpointInterest)
Ep Interest: set endpoint’s interests.
AckFinished(AckFinished)
Ack Finished: ack finished.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Proposal
impl<'de> Deserialize<'de> for Proposal
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
Auto Trait Implementations§
impl !Freeze for Proposal
impl RefUnwindSafe for Proposal
impl Send for Proposal
impl Sync for Proposal
impl Unpin for Proposal
impl UnsafeUnpin for Proposal
impl UnwindSafe for Proposal
Blanket Implementations§
impl<T> AppData for Twhere
T: OptionalSend + OptionalSync + 'static + OptionalSerde,
impl<T> AppDataResponse for Twhere
T: OptionalSend + OptionalSync + 'static + OptionalSerde,
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