#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for Device
Implementations
The path for the device on the host container instance.
The path for the device on the host container instance.
The path inside the container that's used to expose the host device. By default, the hostPath
value is used.
The path inside the container that's used to expose the host device. By default, the hostPath
value is used.
Appends an item to permissions
.
To override the contents of this collection use set_permissions
.
The explicit permissions to provide to the container for the device. By default, the container has permissions for read
, write
, and mknod
for the device.
The explicit permissions to provide to the container for the device. By default, the container has permissions for read
, write
, and mknod
for the device.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more