pub struct GatewayOptions {
pub listen: String,
pub tls_cert: Option<PathBuf>,
pub tls_key: Option<PathBuf>,
}Fields§
§listen: String§tls_cert: Option<PathBuf>Path to TLS certificate file (PEM). When set together with tls_key,
the gateway will accept WSS (WebSocket Secure) connections.
tls_key: Option<PathBuf>Path to TLS private key file (PEM).
Trait Implementations§
Source§impl Clone for GatewayOptions
impl Clone for GatewayOptions
Source§fn clone(&self) -> GatewayOptions
fn clone(&self) -> GatewayOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 GatewayOptions
impl RefUnwindSafe for GatewayOptions
impl Send for GatewayOptions
impl Sync for GatewayOptions
impl Unpin for GatewayOptions
impl UnsafeUnpin for GatewayOptions
impl UnwindSafe for GatewayOptions
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