struct ServerConfig {
endpoint: Endpoint,
tcp_config: TcpConfig,
services: HashMap<String, Arc<dyn RPCService + 'static>>,
pubsub_services: HashMap<String, Arc<dyn PubSubRPCService + 'static>>,
notification_encoder: fn(NewNotification) -> Notification,
}
Fields§
§endpoint: Endpoint
§tcp_config: TcpConfig
§services: HashMap<String, Arc<dyn RPCService + 'static>>
§pubsub_services: HashMap<String, Arc<dyn PubSubRPCService + 'static>>
§notification_encoder: fn(NewNotification) -> Notification
Auto Trait Implementations§
impl Freeze for ServerConfig
impl !RefUnwindSafe for ServerConfig
impl Send for ServerConfig
impl Sync for ServerConfig
impl Unpin for ServerConfig
impl !UnwindSafe for ServerConfig
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