pub struct ControlConfig {
pub socket_path: PathBuf,
pub host_id: HostId,
pub token: AuthToken,
pub max_connections: usize,
pub handshake_timeout: Duration,
pub request_timeout: Duration,
}Fields§
§socket_path: PathBuf§host_id: HostId§token: AuthToken§max_connections: usize§handshake_timeout: Duration§request_timeout: DurationTotal idle/read + dispatch + write budget per query, not per byte.
Implementations§
Source§impl ControlConfig
impl ControlConfig
pub fn validate(&self) -> Result<(), ServerError>
Trait Implementations§
Auto Trait Implementations§
impl Forget for ControlConfig
impl Freeze for ControlConfig
impl Move for ControlConfig
impl RefUnwindSafe for ControlConfig
impl Send for ControlConfigwhere
RawVecInner: Send,
impl Sync for ControlConfigwhere
RawVecInner: Sync,
impl Unpin for ControlConfig
impl UnsafeUnpin for ControlConfig
impl UnwindSafe for ControlConfigwhere
RawVecInner: UnwindSafe,
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