Struct WindowsControlChannelClient
pub struct WindowsControlChannelClient {
pipe: Option<NamedPipeClient>,
}Expand description
Client-side control channel backed by a Windows named pipe client.
Fields§
§pipe: Option<NamedPipeClient>Implementations§
Source§impl WindowsControlChannelClient
impl WindowsControlChannelClient
Sourcepub fn new() -> WindowsControlChannelClient
pub fn new() -> WindowsControlChannelClient
Trait Implementations§
Source§impl ControlChannelClient for WindowsControlChannelClient
impl ControlChannelClient for WindowsControlChannelClient
Source§async fn connect(
&mut self,
endpoint: &OsStr,
) -> Result<(), <WindowsControlChannelClient as ControlChannelClient>::Error>
async fn connect( &mut self, endpoint: &OsStr, ) -> Result<(), <WindowsControlChannelClient as ControlChannelClient>::Error>
Connect to the daemon’s control-channel endpoint identified by
endpoint. Read moreSource§async fn send(
&mut self,
bytes: &[u8],
) -> Result<(), <WindowsControlChannelClient as ControlChannelClient>::Error>
async fn send( &mut self, bytes: &[u8], ) -> Result<(), <WindowsControlChannelClient as ControlChannelClient>::Error>
Send raw bytes to the daemon. Read more
Source§async fn recv(
&mut self,
buf: &mut [u8],
) -> Result<usize, <WindowsControlChannelClient as ControlChannelClient>::Error>
async fn recv( &mut self, buf: &mut [u8], ) -> Result<usize, <WindowsControlChannelClient as ControlChannelClient>::Error>
Source§impl Default for WindowsControlChannelClient
impl Default for WindowsControlChannelClient
Source§fn default() -> WindowsControlChannelClient
fn default() -> WindowsControlChannelClient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WindowsControlChannelClient
impl RefUnwindSafe for WindowsControlChannelClient
impl Send for WindowsControlChannelClient
impl Sync for WindowsControlChannelClient
impl Unpin for WindowsControlChannelClient
impl UnsafeUnpin for WindowsControlChannelClient
impl UnwindSafe for WindowsControlChannelClient
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