Struct zeromq::ZmqMessage
source · pub struct ZmqMessage { /* private fields */ }
Implementations§
source§impl ZmqMessage
impl ZmqMessage
pub fn push_back(&mut self, frame: Bytes)
pub fn push_front(&mut self, frame: Bytes)
pub fn iter(&self) -> Iter<'_, Bytes>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, index: usize) -> Option<&Bytes>
pub fn into_vec(self) -> Vec<Bytes>
pub fn into_vecdeque(self) -> VecDeque<Bytes>
pub fn prepend(&mut self, message: &ZmqMessage)
pub fn split_off(&mut self, at: usize) -> ZmqMessage
Trait Implementations§
source§impl Clone for ZmqMessage
impl Clone for ZmqMessage
source§fn clone(&self) -> ZmqMessage
fn clone(&self) -> ZmqMessage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ZmqMessage
impl Debug for ZmqMessage
source§impl From<&str> for ZmqMessage
impl From<&str> for ZmqMessage
source§impl From<Bytes> for ZmqMessage
impl From<Bytes> for ZmqMessage
source§impl From<String> for ZmqMessage
impl From<String> for ZmqMessage
source§impl TryFrom<ZmqMessage> for String
impl TryFrom<ZmqMessage> for String
Auto Trait Implementations§
impl Freeze for ZmqMessage
impl RefUnwindSafe for ZmqMessage
impl Send for ZmqMessage
impl Sync for ZmqMessage
impl Unpin for ZmqMessage
impl UnwindSafe for ZmqMessage
Blanket Implementations§
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