14 lines
387 B
Rust
14 lines
387 B
Rust
|
|
use geth_types::{PipeId, ResourceId};
|
||
|
|
use serde::{Deserialize, Serialize};
|
||
|
|
|
||
|
|
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
||
|
|
pub struct PipeResource {
|
||
|
|
pub id: PipeId,
|
||
|
|
pub resource: ResourceId,
|
||
|
|
pub name: String,
|
||
|
|
}
|
||
|
|
|
||
|
|
#[must_use]
|
||
|
|
pub fn pipe_roadmap() -> &'static str {
|
||
|
|
"future pipes are authorized Iroh bidirectional streams for stdin/stdout and forwarding"
|
||
|
|
}
|