Crate demikernel
Source 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;
- demikernel
- inetstack
- runtime
- async_timer
- collect_test
- Collects the result of a test and appends it to a vector.
- dump_test
- Dumps results of tests.
- ensure_eq
- Ensures that two expressions are equivalent or return an Error.
- ensure_neq
- Ensure that two expressions are not equal or returns an Error.
- expect_ok
- expect_some
- run_test
- Runs a test and prints if it passed or failed on the standard output.
- timer
- Use this macro to add the current scope to profiling. In effect, the time
taken from entering to leaving the scope will be measured.
- update_test_error
- Updates the error variable
err_var
with anyhow::anyhow!(msg)
if err_var
is Ok
.
Otherwise it prints msg
on the standard output.