pub struct ControlClient { /* private fields */ }Implementations§
Source§impl ControlClient
impl ControlClient
pub fn new(socket_path: impl Into<PathBuf>) -> Self
pub fn socket_path(&self) -> &Path
pub async fn send(&self, command: ControlCommand) -> Result<ResponseFrame>
Trait Implementations§
Source§impl Clone for ControlClient
impl Clone for ControlClient
Auto Trait Implementations§
impl Freeze for ControlClient
impl RefUnwindSafe for ControlClient
impl Send for ControlClient
impl Sync for ControlClient
impl Unpin for ControlClient
impl UnsafeUnpin for ControlClient
impl UnwindSafe for ControlClient
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