pub struct ConnectionOptions {
pub client: ClientInformation,
pub origin_local_ip: Vec<u8>,
pub replace_existing: bool,
pub compression_quality: u8,
pub number_previous_attempts: u8,
}Expand description
Parameters sent with registerConnection.
Fields§
§client: ClientInformationThe connector identity advertised to the edge.
origin_local_ip: Vec<u8>Raw IP bytes of the local edge-facing address.
replace_existing: boolWhether to replace an existing connection for the same tunnel.
compression_quality: u8The compression quality to use (0 disables it).
number_previous_attempts: u8How many previous connection attempts this process made.
Trait Implementations§
Source§impl Clone for ConnectionOptions
impl Clone for ConnectionOptions
Source§impl Debug for ConnectionOptions
impl Debug for ConnectionOptions
Auto Trait Implementations§
impl Freeze for ConnectionOptions
impl RefUnwindSafe for ConnectionOptions
impl Send for ConnectionOptions
impl Sync for ConnectionOptions
impl Unpin for ConnectionOptions
impl UnsafeUnpin for ConnectionOptions
impl UnwindSafe for ConnectionOptions
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