Struct cosworth::prelude::server::ServerSettings
source · pub struct ServerSettings { /* private fields */ }
Expand description
Various server settings
Implementations§
source§impl ServerSettings
impl ServerSettings
sourcepub fn local_addr(&self) -> SocketAddr
pub fn local_addr(&self) -> SocketAddr
Returns the socket address of the local half of this TCP connection
Trait Implementations§
source§impl Clone for ServerSettings
impl Clone for ServerSettings
source§fn clone(&self) -> ServerSettings
fn clone(&self) -> ServerSettings
Returns a copy 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 moresource§impl Default for ServerSettings
impl Default for ServerSettings
source§fn default() -> ServerSettings
fn default() -> ServerSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ServerSettings
impl !Send for ServerSettings
impl !Sync for ServerSettings
impl Unpin for ServerSettings
impl !UnwindSafe for ServerSettings
Blanket Implementations§
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more