[−][src]Struct datastreamcorelib::imagemessage::PubSubImageMessage
Pub/Sub imagemessage
Fields
topic: String
msgid: Uuid
data: Value
imginfo: Value
imgdata: BytesMut
extra_parts: Vec<BytesMut>
Implementations
impl PubSubImageMessage
[src]
pub fn new(topic: String) -> Fallible<PubSubImageMessage>
[src]
Instantiate new datamessage
Trait Implementations
impl Clone for PubSubImageMessage
[src]
fn clone(&self) -> PubSubImageMessage
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl DataMessageMarker for PubSubImageMessage
[src]
impl Debug for PubSubImageMessage
[src]
impl Default for PubSubImageMessage
[src]
fn default() -> PubSubImageMessage
[src]
impl<'_> From<&'_ ImageMessage> for PubSubImageMessage
[src]
ImageMessage can be converted to PubSubImageMessage but topic is set to UNDEFINED
fn from(dmsg: &ImageMessage) -> Self
[src]
impl From<ImageMessage> for PubSubImageMessage
[src]
ImageMessage can be converted to PubSubImageMessage but topic is set to UNDEFINED
fn from(dmsg: ImageMessage) -> Self
[src]
impl ImageMessageMarker for PubSubImageMessage
[src]
impl ImgdataSanityCheck for PubSubImageMessage
[src]
fn get_imginfo(&self) -> &Value
[src]
Get pointer to the imginfo object
fn get_imgdata(&self) -> &BytesMut
[src]
Get pointer to the imgdata buffer
fn sanity_check(&self) -> bool
[src]
impl PubSubDataMessageMarker for PubSubImageMessage
[src]
impl PubSubMessageMarker for PubSubImageMessage
[src]
impl<'_> TryFrom<&'_ PubSubDataMessage> for PubSubImageMessage
[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 PubSubDataMessage
[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<&'_ 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<&'_ PubSubImageMessage> for RawMessage
[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 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<&'_ RawMessage> for PubSubImageMessage
[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 PubSubImageMessage
[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 PubSubDataMessage
[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<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<PubSubImageMessage> for RawMessage
[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 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<RawMessage> for PubSubImageMessage
[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 PubSubImageMessage
[src]
fn zmq_decode(from: Vec<Message>) -> Fallible<Box<Self>>
[src]
Decode ZMQ message parts into a pointer to abstracted message
fn zmq_encode(&self) -> Fallible<Vec<Message>>
[src]
Encode the abtracted message into ZMQ message parts, ready for sending
impl ZMQMessageMarker for PubSubImageMessage
[src]
Auto Trait Implementations
impl RefUnwindSafe for PubSubImageMessage
impl Send for PubSubImageMessage
impl Sync for PubSubImageMessage
impl Unpin for PubSubImageMessage
impl UnwindSafe for PubSubImageMessage
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>,