pub struct EncryptedIpcConnection {
pub reader: EncryptedIpcReader,
pub writer: EncryptedIpcWriter,
}Expand description
Encrypted IPC connection handle
Fields§
§reader: EncryptedIpcReaderThe encrypted reader half of the connection.
writer: EncryptedIpcWriterThe encrypted writer half of the connection.
Implementations§
Source§impl EncryptedIpcConnection
impl EncryptedIpcConnection
Sourcepub fn from_stream(stream: UnixStream, session_token: &str) -> Self
pub fn from_stream(stream: UnixStream, session_token: &str) -> Self
Create an encrypted IPC connection from a Unix stream and session token
Sourcepub fn split(self) -> (EncryptedIpcReader, EncryptedIpcWriter)
pub fn split(self) -> (EncryptedIpcReader, EncryptedIpcWriter)
Split into encrypted reader and writer
Auto Trait Implementations§
impl Freeze for EncryptedIpcConnection
impl RefUnwindSafe for EncryptedIpcConnection
impl Send for EncryptedIpcConnection
impl Sync for EncryptedIpcConnection
impl Unpin for EncryptedIpcConnection
impl UnsafeUnpin for EncryptedIpcConnection
impl UnwindSafe for EncryptedIpcConnection
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