pub struct LocalConfig {
pub tunnel_type: TunnelType,
pub local_tcp_server_addr: SocketAddr,
pub remote_quic_server_addr: SocketAddr,
pub tls_cert: String,
pub buffer_size: usize,
}Fields§
§tunnel_type: TunnelType§local_tcp_server_addr: SocketAddr§remote_quic_server_addr: SocketAddr§tls_cert: String§buffer_size: usizeTrait Implementations§
Source§impl Clone for LocalConfig
impl Clone for LocalConfig
Source§fn clone(&self) -> LocalConfig
fn clone(&self) -> LocalConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocalConfig
impl RefUnwindSafe for LocalConfig
impl Send for LocalConfig
impl Sync for LocalConfig
impl Unpin for LocalConfig
impl UnsafeUnpin for LocalConfig
impl UnwindSafe for LocalConfig
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