pub struct DaemonClient { /* private fields */ }Implementations§
Source§impl DaemonClient
impl DaemonClient
pub fn new(daemon_bin: &Path, config_path: &Path) -> Self
pub fn load_workbench(&self) -> Result<LifecycleWorkbenchSnapshot>
pub fn get_record(&self, record_id: &str) -> Result<Option<LedgerEntry>>
pub fn get_history(&self, record_id: &str) -> Result<Vec<LedgerEntry>>
Trait Implementations§
Source§impl Clone for DaemonClient
impl Clone for DaemonClient
Source§fn clone(&self) -> DaemonClient
fn clone(&self) -> DaemonClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DaemonClient
impl RefUnwindSafe for DaemonClient
impl Send for DaemonClient
impl Sync for DaemonClient
impl Unpin for DaemonClient
impl UnsafeUnpin for DaemonClient
impl UnwindSafe for DaemonClient
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