pub struct ConnectConfig {
pub server: String,
pub token: String,
pub tunnel: Vec<ConnectTunnel>,
pub reconnect_min_secs: u64,
pub reconnect_max_secs: u64,
}Fields§
§server: StringA’s control address to dial.
token: String§tunnel: Vec<ConnectTunnel>§reconnect_min_secs: u64§reconnect_max_secs: u64Trait Implementations§
Source§impl Clone for ConnectConfig
impl Clone for ConnectConfig
Source§impl Debug for ConnectConfig
impl Debug for ConnectConfig
Source§impl<'de> Deserialize<'de> for ConnectConfig
impl<'de> Deserialize<'de> for ConnectConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConnectConfig
impl RefUnwindSafe for ConnectConfig
impl Send for ConnectConfig
impl Sync for ConnectConfig
impl Unpin for ConnectConfig
impl UnsafeUnpin for ConnectConfig
impl UnwindSafe for ConnectConfig
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