pub struct IpcClient { /* private fields */ }Expand description
A connected client handle to the daemon’s control socket.
PRODUCT.md A.4 - used by secureops-cli and secureops-napi to send
IpcRequests and read IpcResponses over the unix socket.
Implementations§
Source§impl IpcClient
impl IpcClient
Sourcepub async fn request(&mut self, request: IpcRequest) -> IpcResult<IpcResponse>
pub async fn request(&mut self, request: IpcRequest) -> IpcResult<IpcResponse>
Write a newline-delimited JSON IpcRequest, read one IpcResponse.
Auto Trait Implementations§
impl !Freeze for IpcClient
impl RefUnwindSafe for IpcClient
impl Send for IpcClient
impl Sync for IpcClient
impl Unpin for IpcClient
impl UnsafeUnpin for IpcClient
impl UnwindSafe for IpcClient
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