docs.rs failed to build windows_shared_memory-0.1.4
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Windows Shared Memory
Windows IPC library using shared memory. Supports 32-bit/64-bit cross-process communication.
Installation
[]
= "0.1.4"
Usage
use ;
// Server
let server = new.unwrap;
server.send.unwrap;
if let Message = server.receive
// Client (separate process)
let client = new.unwrap;
if let Message = client.receive
client.send.unwrap;
Custom path:
let server = new.unwrap;
let client = new.unwrap;
API
| Method | Description |
|---|---|
Server::new(path) |
Create server |
Client::new(path) |
Connect to server |
send(&[u8]) |
Send data (max 16KB) |
receive(timeout_ms) |
Receive data |
server.send_close() |
Close signal |
ReceiveMessage: Message(String), Timeout, Exit, MessageError(String)
License
MIT