pub struct PotSystemConfig {
pub zfs_root: String,
pub fs_root: String,
pub network: IpNet,
pub netmask: IpAddr,
pub gateway: IpAddr,
pub ext_if: String,
pub dns_name: String,
pub dns_ip: IpAddr,
}
Fields§
§zfs_root: String
§fs_root: String
§network: IpNet
§netmask: IpAddr
§gateway: IpAddr
§ext_if: String
§dns_name: String
§dns_ip: IpAddr
Implementations§
Source§impl PotSystemConfig
impl PotSystemConfig
pub fn from_system() -> Result<Self>
Trait Implementations§
Source§impl Clone for PotSystemConfig
impl Clone for PotSystemConfig
Source§fn clone(&self) -> PotSystemConfig
fn clone(&self) -> PotSystemConfig
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 moreAuto Trait Implementations§
impl Freeze for PotSystemConfig
impl RefUnwindSafe for PotSystemConfig
impl Send for PotSystemConfig
impl Sync for PotSystemConfig
impl Unpin for PotSystemConfig
impl UnwindSafe for PotSystemConfig
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