Struct mqtt::control::variable_header::KeepAlive[][src]

pub struct KeepAlive(pub u16);

Keep alive time interval

Trait Implementations

impl Debug for KeepAlive
[src]

Formats the value using the given formatter. Read more

impl Eq for KeepAlive
[src]

impl PartialEq for KeepAlive
[src]

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

This method tests for !=.

impl Copy for KeepAlive
[src]

impl Clone for KeepAlive
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for KeepAlive
[src]

Encodes to writer

Length of bytes after encoded

impl Decodable for KeepAlive
[src]

Decodes object with additional data (or hints)

Decodes object from reader

Auto Trait Implementations

impl Send for KeepAlive

impl Sync for KeepAlive