pub struct ConnectOptions {
pub token: Option<String>,
pub refresh_token: Option<RefreshToken>,
pub certificate_verification: CertificateVerification,
pub versions: Vec<Version>,
}Fields§
§token: Option<String>The JWT presented in CLIENT_SETUP.
refresh_token: Option<RefreshToken>Called with the current token five minutes before its exp, and
every 30 s while it fails, until the token expires; needs token.
certificate_verification: CertificateVerification§versions: Vec<Version>The drafts offered, most preferred first; draft-18, then draft-14, when empty.
Trait Implementations§
Source§impl Clone for ConnectOptions
impl Clone for ConnectOptions
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectOptions
impl !UnwindSafe for ConnectOptions
impl Freeze for ConnectOptions
impl Send for ConnectOptions
impl Sync for ConnectOptions
impl Unpin for ConnectOptions
impl UnsafeUnpin for ConnectOptions
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