pub fn unload(name: &str) -> Result<(), String>
Unload a plugin by name: purge its command registrations FIRST (so no live function pointer survives), then drop the Library (dlclose).
Library
dlclose