Struct dittolive_ditto::transport::Connect
source · [−]pub struct Connect {
pub tcp_servers: HashSet<String>,
pub websocket_urls: HashSet<String>,
pub retry_interval: Duration,
}
Fields
tcp_servers: HashSet<String>
A set of TCP servers to attempt connection to.
websocket_urls: HashSet<String>
A set of websocket servers to attempt connection to.
retry_interval: Duration
The retry interval between failed connection attempts. For cross-compatibility, this must be less than 2^32 - 1 milliseconds.
Trait Implementations
impl Eq for Connect
impl StructuralEq for Connect
impl StructuralPartialEq for Connect
Auto Trait Implementations
impl RefUnwindSafe for Connect
impl Send for Connect
impl Sync for Connect
impl Unpin for Connect
impl UnwindSafe for Connect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more