pub struct Domain {
pub id: u8,
// some fields omitted
}
id of the current domain.
Returns the name of the current domain.
Returns wether the socket is enabled or not.
Returns amount of energy used by the socket.
The returned value is in micro joules.
Formats the value using the given formatter. Read more
Creates a socket instance using the speficied path.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.