Function nbdkit::export_name

source ·
pub fn export_name() -> Result<String, Box<dyn Error>>
Expand description

Return the optional NBD export name if one was negotiated with the current client

Note that this function must be called from one of nbdkit’s own threads. That is, it can only be called in the same thread as one of the Server callbacks.