pub struct ServerOptions {
pub trace: bool,
pub auto_create_missing_references: bool,
pub accept: AcceptedProtocols,
pub limits: DecodeLimits,
}Expand description
Server configuration.
Fields§
§trace: boolPrint every request and reply to stderr.
auto_create_missing_references: bool§accept: AcceptedProtocolsProtocols the server answers.
limits: DecodeLimitsLimits applied to incoming messages.
Trait Implementations§
Source§impl Clone for ServerOptions
impl Clone for ServerOptions
Source§fn clone(&self) -> ServerOptions
fn clone(&self) -> ServerOptions
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 moreimpl Copy for ServerOptions
Source§impl Debug for ServerOptions
impl Debug for ServerOptions
Source§impl Default for ServerOptions
impl Default for ServerOptions
Source§fn default() -> ServerOptions
fn default() -> ServerOptions
Returns the “default value” for a type. Read more
impl Eq for ServerOptions
Source§impl PartialEq for ServerOptions
impl PartialEq for ServerOptions
impl StructuralPartialEq for ServerOptions
Auto Trait Implementations§
impl Freeze for ServerOptions
impl RefUnwindSafe for ServerOptions
impl Send for ServerOptions
impl Sync for ServerOptions
impl Unpin for ServerOptions
impl UnsafeUnpin for ServerOptions
impl UnwindSafe for ServerOptions
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