Struct aws_sdk_ecs::model::Device
source · [−]#[non_exhaustive]pub struct Device { /* private fields */ }Expand description
An object representing a container instance host device.
Implementations
sourceimpl Device
impl Device
sourcepub fn host_path(&self) -> Option<&str>
pub fn host_path(&self) -> Option<&str>
The path for the device on the host container instance.
sourcepub fn container_path(&self) -> Option<&str>
pub fn container_path(&self) -> Option<&str>
The path inside the container at which to expose the host device.
sourcepub fn permissions(&self) -> Option<&[DeviceCgroupPermission]>
pub fn permissions(&self) -> Option<&[DeviceCgroupPermission]>
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
impl StructuralPartialEq for Device
Auto Trait Implementations
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more