pub struct Server {
pub host: String,
pub port: u16,
pub protocol: String,
pub endpoint: Endpoint,
pub verification_threads: u16,
pub channel_size: u64,
pub stat_timer_in_ms: Timestamp,
pub thread_sleep_time_in_ms: Timestamp,
pub block_fetch_batch_size: u64,
pub reconnection_wait_time: Timestamp,
}
Fields§
§host: String
§port: u16
§protocol: String
§endpoint: Endpoint
§verification_threads: u16
§channel_size: u64
§stat_timer_in_ms: Timestamp
§thread_sleep_time_in_ms: Timestamp
§block_fetch_batch_size: u64
§reconnection_wait_time: Timestamp
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Server
impl<'de> Deserialize<'de> for Server
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Server
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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