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 PrivateDaemonwhere
I32NotAllOnes: Freeze,
*const Header is !null: Freeze,
PhantomData<Result<(), SubcModuleError>>: Freeze,
*const Path is !null: Freeze,
PhantomData<Path>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for PrivateDaemon
impl RefUnwindSafe for PrivateDaemon
impl Send for PrivateDaemonwhere
I32NotAllOnes: Send,
JoinHandle<Result<(), SubcModuleError>>: Send,
BoxRaw<Path>: Send,
RawVecInner: Send,
impl Sync for PrivateDaemonwhere
I32NotAllOnes: Sync,
JoinHandle<Result<(), SubcModuleError>>: Sync,
BoxRaw<Path>: Sync,
RawVecInner: Sync,
impl Unpin for PrivateDaemon
impl UnsafeUnpin for PrivateDaemonwhere
I32NotAllOnes: UnsafeUnpin,
*const Header is !null: UnsafeUnpin,
PhantomData<Result<(), SubcModuleError>>: UnsafeUnpin,
*const Path is !null: UnsafeUnpin,
PhantomData<Path>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for PrivateDaemonwhere
I32NotAllOnes: UnwindSafe,
JoinHandle<Result<(), SubcModuleError>>: UnwindSafe,
BoxRaw<Path>: UnwindSafe,
RawVecInner: UnwindSafe,
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