pub struct PicBuilder(/* private fields */);Expand description
PicBuilder Thin wrapper around the PocketIC builder.
This builder is only used to configure the singleton. It does not create
additional IC instances beyond the global Pic.
Note: this file is test-only infrastructure; simplicity wins over abstraction.
Implementations§
Source§impl PicBuilder
impl PicBuilder
Sourcepub fn with_application_subnet(self) -> Self
pub fn with_application_subnet(self) -> Self
Include an application subnet in the singleton universe.
Sourcepub fn with_nns_subnet(self) -> Self
pub fn with_nns_subnet(self) -> Self
Include an NNS subnet in the singleton universe.
Auto Trait Implementations§
impl Freeze for PicBuilder
impl RefUnwindSafe for PicBuilder
impl Send for PicBuilder
impl Sync for PicBuilder
impl Unpin for PicBuilder
impl UnwindSafe for PicBuilder
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