pub struct PiStore {
pub sessions_dir: PathBuf,
}Expand description
Reads and writes pi-format sessions under a sessions root.
Fields§
§sessions_dir: PathBufImplementations§
Trait Implementations§
Source§impl Store for PiStore
impl Store for PiStore
Source§fn discover(&self) -> Result<Vec<Discovered<PathBuf>>>
fn discover(&self) -> Result<Vec<Discovered<PathBuf>>>
Cheap metadata scan — no full message parsing.
Source§fn load(&self, reference: &PathBuf) -> Result<Transcript<Pi>>
fn load(&self, reference: &PathBuf) -> Result<Transcript<Pi>>
Load and parse one transcript into its faithful native representation.
Auto Trait Implementations§
impl Freeze for PiStore
impl RefUnwindSafe for PiStore
impl Send for PiStore
impl Sync for PiStore
impl Unpin for PiStore
impl UnsafeUnpin for PiStore
impl UnwindSafe for PiStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more