Crate demikernel
source ·Re-exports§
pub use self::demikernel::libos::name::LibOSName;
pub use self::demikernel::libos::LibOS;
pub use crate::runtime::network::socket::option::SocketOption;
pub use crate::runtime::network::types::MacAddress;
pub use crate::runtime::network::types::Port16;
pub use crate::runtime::types::demi_sgarray_t;
pub use crate::runtime::types::demi_sgaseg_t;
pub use crate::runtime::OperationResult;
pub use crate::runtime::QDesc;
pub use crate::runtime::QToken;
pub use crate::runtime::QType;
Modules§
Macros§
- Collects the result of a test and appends it to a vector.
- Dumps results of tests.
- Ensures that two expressions are equivalent or return an Error.
- Ensure that two expressions are not equal or returns an Error.
- Runs a test and prints if it passed or failed on the standard output.
- Use this macro to add the current scope to profiling. In effect, the time taken from entering to leaving the scope will be measured.
- Updates the error variable
err_var
withanyhow::anyhow!(msg)
iferr_var
isOk
. Otherwise it printsmsg
on the standard output.