Modules§
Macros§
- exec_
netns - safe way to join the namespace and join back to the host after the task is done This first arg should be the hostns fd, the second is the container ns fd. The third and last the closure that should be executed in the ns.
- new_
error - wrap
- wrap any result into a NetavarkError and add the given msg