[−][src]Struct datastreamcorelib::pubsub::PubSubMessage
Raw PUB/SUB message
Fields
topic: String
dataparts: Vec<BytesMut>
Implementations
impl PubSubMessage
[src]
pub fn new(topic: String) -> Fallible<PubSubMessage>
[src]
Instantiate new PubSubDataMessage with given topic
Trait Implementations
impl Clone for PubSubMessage
[src]
fn clone(&self) -> PubSubMessage
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PubSubMessage
[src]
impl Default for PubSubMessage
[src]
fn default() -> PubSubMessage
[src]
impl PubSubMessageMarker for PubSubMessage
[src]
impl<'_> TryFrom<&'_ PubSubDataMessage> for PubSubMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: &PubSubDataMessage) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ PubSubImageMessage> for PubSubMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: &PubSubImageMessage) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ PubSubMessage> for PubSubDataMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: &PubSubMessage) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ PubSubMessage> for PubSubImageMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: &PubSubMessage) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ PubSubMessage> for RawMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: &PubSubMessage) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ RawMessage> for PubSubMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: &RawMessage) -> Result<Self, Self::Error>
[src]
impl TryFrom<PubSubDataMessage> for PubSubMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: PubSubDataMessage) -> Result<Self, Self::Error>
[src]
impl TryFrom<PubSubImageMessage> for PubSubMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: PubSubImageMessage) -> Result<Self, Self::Error>
[src]
impl TryFrom<PubSubMessage> for PubSubDataMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: PubSubMessage) -> Result<Self, Self::Error>
[src]
impl TryFrom<PubSubMessage> for PubSubImageMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: PubSubMessage) -> Result<Self, Self::Error>
[src]
impl TryFrom<PubSubMessage> for RawMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: PubSubMessage) -> Result<Self, Self::Error>
[src]
impl TryFrom<RawMessage> for PubSubMessage
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(rmsg: RawMessage) -> Result<Self, Self::Error>
[src]
impl ZMQCodec for PubSubMessage
[src]
fn zmq_encode(&self) -> Fallible<Vec<Message>>
[src]
Encode the abtracted message into ZMQ message parts, ready for sending
fn zmq_decode(from: Vec<Message>) -> Fallible<Box<Self>>
[src]
Decode ZMQ message parts into a pointer to abstracted message
impl ZMQMessageMarker for PubSubMessage
[src]
Auto Trait Implementations
impl RefUnwindSafe for PubSubMessage
impl Send for PubSubMessage
impl Sync for PubSubMessage
impl Unpin for PubSubMessage
impl UnwindSafe for PubSubMessage
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,