pub struct NetHsmImage {
pub image: ImageName,
pub port: ExposedPort,
}Expand description
An image of NetHSM used to create a running container.
Fields§
§image: ImageNameImage name that is used to start the container.
port: ExposedPortExposed port which will be used for communication with the NetHSM.
Implementations§
Source§impl NetHsmImage
impl NetHsmImage
Sourcepub async fn url(&self) -> TestResult<Url>
pub async fn url(&self) -> TestResult<Url>
Returns an base URL for the virtualized NetHSM.
Trait Implementations§
Source§impl Debug for NetHsmImage
impl Debug for NetHsmImage
Source§impl Default for NetHsmImage
impl Default for NetHsmImage
Source§impl ToRunnableContainer for NetHsmImage
impl ToRunnableContainer for NetHsmImage
Source§fn to_runnable(&self, builder: RunnableContainerBuilder) -> RunnableContainer
fn to_runnable(&self, builder: RunnableContainerBuilder) -> RunnableContainer
Build the runnable container
Auto Trait Implementations§
impl Freeze for NetHsmImage
impl !RefUnwindSafe for NetHsmImage
impl Send for NetHsmImage
impl Sync for NetHsmImage
impl Unpin for NetHsmImage
impl !UnwindSafe for NetHsmImage
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