blob: d6e60aa9a4dcf55954e07a3011e9f1e2536adbd4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
pub mod worker_protocol;
use std::io::Result;
use types::UnkeyedValidPathInfo;
use crate::store_path::StorePath;
pub mod handler;
pub mod types;
/// Represents all possible operations over the nix-daemon protocol.
pub trait NixDaemonIO {
fn query_path_info(
&self,
path: &StorePath<String>,
) -> impl std::future::Future<Output = Result<Option<UnkeyedValidPathInfo>>> + Send;
}
|