Enum epicbox::broker::broker_protocol::BrokerRequest [−][src]
pub enum BrokerRequest {
Subscribe {
id: String,
subject: String,
response_sender: UnboundedSender<BrokerResponse>,
},
Unsubscribe {
id: String,
},
PostMessage {
subject: String,
payload: String,
reply_to: String,
message_expiration_in_seconds: Option<u32>,
},
}Variants
Fields of Subscribe
Fields of Unsubscribe
id: StringFields of PostMessage
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for BrokerRequest
impl Send for BrokerRequest
impl Sync for BrokerRequest
impl Unpin for BrokerRequest
impl !UnwindSafe for BrokerRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr, which was obtained from a prior call to Self::borrow(),
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self. Read more