pub enum MessageServiceResponse {
Publish(Result<PublishResult, MessageError>),
Message(Result<Option<MessageFull>, MessageError>),
UserData(Result<Option<MessageFull>, MessageError>),
CheckMessages(Result<Vec<Option<String>>, MessageError>),
Subscribe(Result<(), MessageError>),
UpdateFilters(Result<SubscriptionConfig, MessageError>),
CatchUp(Result<SubscriptionConfig, MessageError>),
}Expand description
The response sent over the wire from the server to the client.
Variants§
Publish(Result<PublishResult, MessageError>)
Message(Result<Option<MessageFull>, MessageError>)
UserData(Result<Option<MessageFull>, MessageError>)
CheckMessages(Result<Vec<Option<String>>, MessageError>)
Subscribe(Result<(), MessageError>)
UpdateFilters(Result<SubscriptionConfig, MessageError>)
CatchUp(Result<SubscriptionConfig, MessageError>)
Trait Implementations§
Source§impl Debug for MessageServiceResponse
impl Debug for MessageServiceResponse
Source§impl<'de> Deserialize<'de> for MessageServiceResponse
impl<'de> Deserialize<'de> for MessageServiceResponse
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 MessageServiceResponse
impl RefUnwindSafe for MessageServiceResponse
impl Send for MessageServiceResponse
impl Sync for MessageServiceResponse
impl Unpin for MessageServiceResponse
impl UnwindSafe for MessageServiceResponse
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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