Struct fog_db_traits::NetInfo
source · pub struct NetInfo {
pub db: bool,
pub machine: bool,
pub direct: bool,
pub local: bool,
pub regional: bool,
pub global: bool,
pub other: BTreeMap<String, BTreeMap<String, String>>,
}
Expand description
Network connection information
Fields§
§db: bool
Local database connection
machine: bool
Network within the currently running machine
direct: bool
Direct machine-to-machine communication
local: bool
Local network
regional: bool
Regional (municipal, large corporate, etc.) network
global: bool
The global internet
other: BTreeMap<String, BTreeMap<String, String>>
Some other, specific network, with optional additional network information
Auto Trait Implementations§
impl RefUnwindSafe for NetInfo
impl Send for NetInfo
impl Sync for NetInfo
impl Unpin for NetInfo
impl UnwindSafe for NetInfo
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