Struct zmtp::Message
[−]
[src]
pub struct Message(_);
Methods
impl Message
[src]
fn new(frame: Frame) -> Self
fn empty_frame() -> Self
fn from_str(string: &str) -> Self
fn as_string(self) -> String
fn add_frame(&mut self, frame: Frame) -> &mut Self
fn last_frame(&mut self) -> &mut Frame
fn frame_count(&self) -> usize
fn frames(&self) -> &[Frame]
fn into_frame_iter(self) -> <Vec<Frame> as IntoIterator>::IntoIter
fn frame_iter(&self) -> Iter<Frame>
Trait Implementations
impl PartialEq for Message
[src]
fn eq(&self, __arg_0: &Message) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Message) -> bool
This method tests for !=
.