pub struct ServerOptions {
pub trace: bool,
pub auto_create_missing_references: bool,
pub accept: AcceptedProtocols,
pub limits: ProtocolLimits,
pub max_pending_notifications: usize,
pub triplets: bool,
}Expand description
Server configuration.
Fields§
§trace: boolPrint every request and reply to stderr.
auto_create_missing_references: bool§accept: AcceptedProtocolsProtocols the server answers.
limits: ProtocolLimitsLimits applied to incoming messages.
max_pending_notifications: usizePushes a connection may have waiting before the server closes it as too slow to read them.
triplets: boolRead every request as triplets (issue #152): (create: (type from to))
and the rest of TripletsOperation, over a store of doublets. A server
without it answers as it always did.
Trait Implementations§
Source§impl Clone for ServerOptions
impl Clone for ServerOptions
impl Copy for ServerOptions
Source§impl Debug for ServerOptions
impl Debug for ServerOptions
Source§impl Default for ServerOptions
impl Default for ServerOptions
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