pub struct PrivateDaemon {
pub connection_file: PathBuf,
pub config_file: PathBuf,
pub data_home: PathBuf,
pub runtime_dir: PathBuf,
pub config_home: PathBuf,
/* private fields */
}Expand description
A binary daemon and a throwaway, in-client-process claustrum signer. The broker must outlive this value. No operator vault or installed daemon is used.
Fields§
§connection_file: PathBuf§config_file: PathBuf§data_home: PathBuf§runtime_dir: PathBuf§config_home: PathBufImplementations§
Source§impl PrivateDaemon
impl PrivateDaemon
pub async fn start( bus: &BusServer, options: DaemonOptions, ) -> Result<Self, RigError>
pub fn root(&self) -> &Path
pub fn pid(&self) -> u32
pub fn log_text(&self) -> String
pub async fn control( &self, request: ClientControlRequest, ) -> Result<ClientControlResponse, RigError>
Trait Implementations§
Source§impl Drop for PrivateDaemon
impl Drop for PrivateDaemon
Auto Trait Implementations§
impl Forget for PrivateDaemon
impl Freeze for PrivateDaemon
impl Move for PrivateDaemon
impl RefUnwindSafe for PrivateDaemon
impl Send for PrivateDaemon
impl Sync for PrivateDaemon
impl Unpin for PrivateDaemon
impl UnsafeUnpin for PrivateDaemon
impl UnwindSafe for PrivateDaemon
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