1 2 3 4 5 6 7 8 9 10 11 12
use crate::{Channel, Node, Result, UrbitAPIError}; use crossbeam::channel::{unbounded, Receiver}; use json::JsonValue; use std::thread; use std::time::Duration; /// A struct that provides an interface for interacting with hark-store pub struct HarkStore<'a> { pub channel: &'a mut Channel, } impl<'a> HarkStore<'a> {}