pub struct PinotContainer(/* private fields */);Expand description
A single-container Apache Pinot QuickStart cluster.
Implementations§
Source§impl PinotContainer
impl PinotContainer
Sourcepub fn new() -> Self
pub fn new() -> Self
Builds a container from the pinned default image (apachepinot/pinot:1.5.1).
Sourcepub fn with_image(image: &str) -> Self
pub fn with_image(image: &str) -> Self
Builds a container from a caller-chosen image.
Sourcepub async fn start(self) -> Result<PinotGuard>
pub async fn start(self) -> Result<PinotGuard>
Boots the container.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PinotContainer
impl !UnwindSafe for PinotContainer
impl Freeze for PinotContainer
impl Send for PinotContainer
impl Sync for PinotContainer
impl Unpin for PinotContainer
impl UnsafeUnpin for PinotContainer
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