pub struct ZOSNamespaceBuilder { /* private fields */ }Expand description
Builder for ZOSNamespace.
Implementations§
Source§impl ZOSNamespaceBuilder
impl ZOSNamespaceBuilder
Sourcepub fn typ<VALUE: Into<ZOSNamespaceType>>(self, value: VALUE) -> Self
pub fn typ<VALUE: Into<ZOSNamespaceType>>(self, value: VALUE) -> Self
Type is the type of namespace.
Sourcepub fn path<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
pub fn path<VALUE: Into<PathBuf>>(self, value: VALUE) -> Self
Path is a path to an existing namespace persisted on disk that can be joined and is of the same type
Sourcepub fn build(self) -> Result<ZOSNamespace, OciSpecError>
pub fn build(self) -> Result<ZOSNamespace, OciSpecError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZOSNamespaceBuilder
impl RefUnwindSafe for ZOSNamespaceBuilder
impl Send for ZOSNamespaceBuilder
impl Sync for ZOSNamespaceBuilder
impl Unpin for ZOSNamespaceBuilder
impl UnsafeUnpin for ZOSNamespaceBuilder
impl UnwindSafe for ZOSNamespaceBuilder
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