Struct czmq::ZFrame
[−]
[src]
pub struct ZFrame { /* fields omitted */ }
Methods
impl ZFrame
[src]
fn new(data: &[u8]) -> Result<ZFrame>
fn empty() -> Result<ZFrame>
fn from(frame: &str) -> Result<ZFrame>
fn recv<S: Sockish>(source: &mut S) -> Result<ZFrame>
fn send<D: Sockish>(self, dest: &mut D, flags: Option<Flags>) -> Result<i32>
fn send_reuse<D: Sockish>(
&mut self,
dest: &mut D,
flags: Option<Flags>
) -> Result<i32>
&mut self,
dest: &mut D,
flags: Option<Flags>
) -> Result<i32>
fn size(&self) -> usize
fn data(&self) -> Result<Result<String, Vec<u8>>>
fn meta(&self, property: &str) -> Option<Result<String, Vec<u8>>>
fn dup(&self) -> Result<ZFrame>
fn strhex(&self) -> Result<Result<String, Vec<u8>>>
fn strdup(&self) -> Result<Result<String, Vec<u8>>>
fn streq(&self, string: &str) -> bool
fn more(&self) -> bool
fn set_more(&self, more: bool)
fn eq(&self, other: &ZFrame) -> bool
fn reset(&self, data: &[u8])
fn print(&self, prefix: Option<&str>)
Trait Implementations
impl Eq for ZFrame
[src]
impl Send for ZFrame
[src]
impl Sync for ZFrame
[src]
impl Drop for ZFrame
[src]
impl PartialEq for ZFrame
[src]
fn eq(&self, other: &ZFrame) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.