pub struct RpcOptions { /* private fields */ }Expand description
Per-caller RPC configuration, passed to
MqttClient::rpc_with.
Construct via RpcOptions::builder or RpcOptions::default.
Implementations§
Source§impl RpcOptions
impl RpcOptions
Sourcepub fn builder() -> RpcOptionsBuilder
pub fn builder() -> RpcOptionsBuilder
Start building a set of caller options.
Trait Implementations§
Source§impl Clone for RpcOptions
impl Clone for RpcOptions
Source§fn clone(&self) -> RpcOptions
fn clone(&self) -> RpcOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RpcOptions
impl Debug for RpcOptions
Source§impl Default for RpcOptions
impl Default for RpcOptions
Source§fn default() -> RpcOptions
fn default() -> RpcOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RpcOptions
impl RefUnwindSafe for RpcOptions
impl Send for RpcOptions
impl Sync for RpcOptions
impl Unpin for RpcOptions
impl UnsafeUnpin for RpcOptions
impl UnwindSafe for RpcOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more