#pragma once #include #include "rust-apt/src/error.rs" #include "rust/cxx.h" #include "types.h" /// Handle the situation where a string is null and return a result to rust inline bool pending_error() { return _error->PendingError(); } inline bool empty() { return _error->empty(); } Vec get_all() noexcept;