Struct zmtp::Greeting [] [src]

pub struct Greeting {
    pub signature: [u8; 10],
    pub version: (u8, u8),
    pub mechanism: [u8; 20],
    pub as_server: bool,
    pub filler: [u8; 31],
}

Fields

Methods

impl Greeting
[src]

Trait Implementations

impl PartialEq for Greeting
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Greeting
[src]

impl Debug for Greeting
[src]

Formats the value using the given formatter.

impl Clone for Greeting
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Greeting
[src]