Struct coap_client::HostOptions [−][src]
pub struct HostOptions {
pub scheme: Transport,
pub host: String,
pub port: u16,
pub resource: String,
}Expand description
Options for connecting client to hosts
Fields
scheme: TransportTransport / scheme for connection
host: StringHost to connect to
port: u16Port for connection
resource: StringResource path (if provided)
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for HostOptions
impl Send for HostOptions
impl Sync for HostOptions
impl Unpin for HostOptions
impl UnwindSafe for HostOptions
Blanket Implementations
Mutably borrows from an owned value. Read more