pub struct MountTmpfsOptionsBuilder { /* private fields */ }
Expand description
Builder for MountTmpfsOptions
.
Implementations§
Source§impl MountTmpfsOptionsBuilder
impl MountTmpfsOptionsBuilder
Sourcepub fn size_bytes<VALUE: Into<Option<i64>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn size_bytes<VALUE: Into<Option<i64>>>( &mut self, value: VALUE, ) -> &mut Self
Size sets the size of the tmpfs, in bytes.
This will be converted to an operating system specific value depending on the host. For example, on linux, it will be converted to use a ‘k’, ‘m’ or ‘g’ syntax. BSD, though not widely supported with docker, uses a straight byte value.
Percentages are not supported.
Trait Implementations§
Source§impl Clone for MountTmpfsOptionsBuilder
impl Clone for MountTmpfsOptionsBuilder
Source§fn clone(&self) -> MountTmpfsOptionsBuilder
fn clone(&self) -> MountTmpfsOptionsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for MountTmpfsOptionsBuilder
impl Default for MountTmpfsOptionsBuilder
Source§fn default() -> MountTmpfsOptionsBuilder
fn default() -> MountTmpfsOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MountTmpfsOptionsBuilder
impl RefUnwindSafe for MountTmpfsOptionsBuilder
impl Send for MountTmpfsOptionsBuilder
impl Sync for MountTmpfsOptionsBuilder
impl Unpin for MountTmpfsOptionsBuilder
impl UnwindSafe for MountTmpfsOptionsBuilder
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