pub struct LspClientConfig {
pub server_name: String,
pub command: String,
pub args: Vec<String>,
pub startup_timeout: Duration,
pub request_timeout: Duration,
pub shutdown_timeout: Duration,
}Expand description
Process-handle and runtime knobs for one LSP server.
Fields§
§server_name: String§command: String§args: Vec<String>§startup_timeout: Duration§request_timeout: Duration§shutdown_timeout: DurationImplementations§
Trait Implementations§
Source§impl Clone for LspClientConfig
impl Clone for LspClientConfig
Source§fn clone(&self) -> LspClientConfig
fn clone(&self) -> LspClientConfig
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 moreAuto Trait Implementations§
impl Freeze for LspClientConfig
impl RefUnwindSafe for LspClientConfig
impl Send for LspClientConfig
impl Sync for LspClientConfig
impl Unpin for LspClientConfig
impl UnsafeUnpin for LspClientConfig
impl UnwindSafe for LspClientConfig
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