Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalize IPC behaviour #335

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions common/src/ipc/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
use std::path::PathBuf;

use transmit::RawMsg;
use transmit::IpcMessage;

mod error;
pub mod serde;
mod socket;
mod transmit;
mod types;
pub mod types2;

use crate::cache;
use crate::mmap::Mmap;
Expand Down Expand Up @@ -148,7 +150,7 @@ impl RequestSend {
impl RequestRecv {
#[must_use]
#[inline]
pub fn receive(msg: RawMsg) -> Self {
pub fn receive(msg: IpcMessage) -> Self {
msg.into()
}
}
Expand All @@ -170,7 +172,7 @@ impl Answer {

#[must_use]
#[inline]
pub fn receive(msg: RawMsg) -> Self {
pub fn receive(msg: IpcMessage) -> Self {
msg.into()
}
}
Loading
Loading