pub struct BusServer {
pub dir: PathBuf,
pub url: String,
pub port: u16,
pub listen_host: String,
pub log: PathBuf,
pub operator_jwt: PathBuf,
pub system_account: String,
pub trust: TrustChain,
pub version: String,
/* private fields */
}Fields§
§dir: PathBuf§url: String§port: u16§listen_host: String§log: PathBuf§operator_jwt: PathBuf§system_account: String§trust: TrustChain§version: StringImplementations§
Source§impl BusServer
impl BusServer
pub async fn start(options: BusOptions) -> Result<Self, RigError>
pub fn pid(&self) -> u32
Sourcepub fn ckbus_env(&self) -> Vec<(String, String)>
pub fn ckbus_env(&self) -> Vec<(String, String)>
Bootstrap inputs for the supervised ck-bus module.
pub fn stored_accounts(&self) -> BTreeSet<String>
pub fn log_text(&self) -> String
pub async fn stop(self)
Auto Trait Implementations§
impl Forget for BusServer
impl Freeze for BusServer
impl Move for BusServer
impl RefUnwindSafe for BusServer
impl Send for BusServer
impl Sync for BusServer
impl Unpin for BusServer
impl UnsafeUnpin for BusServer
impl UnwindSafe for BusServer
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