pub struct NodeDeviceLocalityBuilder { /* private fields */ }
Expand description
Builder for NodeDeviceLocality
.
Implementations§
Source§impl NodeDeviceLocalityBuilder
impl NodeDeviceLocalityBuilder
Sourcepub fn pci_bus_id(&mut self, value: String) -> &mut Self
pub fn pci_bus_id(&mut self, value: String) -> &mut Self
PciBusID is the PCI Bus ID for the device.
Sourcepub fn build(
&self,
) -> Result<NodeDeviceLocality, NodeDeviceLocalityBuilderError>
pub fn build( &self, ) -> Result<NodeDeviceLocality, NodeDeviceLocalityBuilderError>
Trait Implementations§
Source§impl Clone for NodeDeviceLocalityBuilder
impl Clone for NodeDeviceLocalityBuilder
Source§fn clone(&self) -> NodeDeviceLocalityBuilder
fn clone(&self) -> NodeDeviceLocalityBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for NodeDeviceLocalityBuilder
impl RefUnwindSafe for NodeDeviceLocalityBuilder
impl Send for NodeDeviceLocalityBuilder
impl Sync for NodeDeviceLocalityBuilder
impl Unpin for NodeDeviceLocalityBuilder
impl UnwindSafe for NodeDeviceLocalityBuilder
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