pub struct WireBridgeOptions {
pub name: Option<String>,
pub session_id: String,
pub retry: RetryPolicy,
pub now_ms: Option<Rc<dyn Fn() -> u64>>,
}Expand description
WireBridgeOptions data container.
Fields§
§name: Option<String>name field for name.
session_id: Stringsession_id field for session id.
retry: RetryPolicyretry field for retry.
now_ms: Option<Rc<dyn Fn() -> u64>>now_ms field for now ms.
Implementations§
Trait Implementations§
Source§impl Clone for WireBridgeOptions
impl Clone for WireBridgeOptions
Source§fn clone(&self) -> WireBridgeOptions
fn clone(&self) -> WireBridgeOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WireBridgeOptions
impl !RefUnwindSafe for WireBridgeOptions
impl !Send for WireBridgeOptions
impl !Sync for WireBridgeOptions
impl Unpin for WireBridgeOptions
impl UnsafeUnpin for WireBridgeOptions
impl !UnwindSafe for WireBridgeOptions
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