pub struct BusOptions {
pub binary: Option<PathBuf>,
pub directory: Option<PathBuf>,
pub trust: Option<TrustChain>,
pub preload: Vec<PreloadedAccount>,
pub startup_timeout: Duration,
}Fields§
§binary: Option<PathBuf>Optional test-build path; otherwise use CK_NATS_SERVER_BIN, then PATH.
directory: Option<PathBuf>Optional externally owned fixture directory; otherwise a temporary tree.
trust: Option<TrustChain>§preload: Vec<PreloadedAccount>§startup_timeout: DurationTrait Implementations§
Auto Trait Implementations§
impl Forget for BusOptions
impl Freeze for BusOptionswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<BTreeMap<String, FixtureRoot>> is !null: Freeze,
PhantomData<ArcInner<BTreeMap<String, FixtureRoot>>>: Freeze,
*const ArcInner<Mutex<Vec<Option<Principal>>>> is !null: Freeze,
PhantomData<ArcInner<Mutex<Vec<Option<Principal>>>>>: Freeze,
PhantomData<PreloadedAccount>: Freeze,
impl Move for BusOptions
impl RefUnwindSafe for BusOptions
impl Send for BusOptions
impl Sync for BusOptions
impl Unpin for BusOptions
impl UnsafeUnpin for BusOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<BTreeMap<String, FixtureRoot>> is !null: UnsafeUnpin,
PhantomData<ArcInner<BTreeMap<String, FixtureRoot>>>: UnsafeUnpin,
*const ArcInner<Mutex<Vec<Option<Principal>>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<Vec<Option<Principal>>>>>: UnsafeUnpin,
PhantomData<PreloadedAccount>: UnsafeUnpin,
impl UnwindSafe for BusOptionswhere
RawVecInner: UnwindSafe,
Arc<BTreeMap<String, FixtureRoot>>: UnwindSafe,
Arc<Mutex<Vec<Option<Principal>>>>: 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