pub struct DaemonConnection { /* private fields */ }Implementations§
Source§impl DaemonConnection
impl DaemonConnection
pub fn handshake(&self, _client: &str) -> Result<HandshakeResponse>
pub fn supports_query(&self, capability: &str) -> Result<bool>
pub fn query(&self, request: QueryRequest) -> Result<QueryResponse>
pub fn command(&self, request: CommandRequest) -> Result<String>
pub fn command_response( &self, request: CommandRequest, ) -> Result<CommandResponse>
pub fn replace_source_set( &self, source_set: WorkspaceSourceSetDto, ) -> Result<CommandResponse>
pub fn remove_source_set( &self, srcset: impl Into<String>, ) -> Result<CommandResponse>
pub fn shutdown(&self) -> Result<()>
Trait Implementations§
Source§impl Clone for DaemonConnection
impl Clone for DaemonConnection
Source§fn clone(&self) -> DaemonConnection
fn clone(&self) -> DaemonConnection
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 !RefUnwindSafe for DaemonConnection
impl !UnwindSafe for DaemonConnection
impl Freeze for DaemonConnection
impl Send for DaemonConnection
impl Sync for DaemonConnection
impl Unpin for DaemonConnection
impl UnsafeUnpin for DaemonConnection
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