# Functions
NewDriverHandle returns a handle for task operations on a specific task.
NewHookError contains an underlying err and a pre-formatted task event.
NewLazyHandle takes the function to receive the latest handle and a logger and returns a LazyHandle.
# Constants
HookNameDevices is the name of the devices hook.
TaskDirHookIsDoneDataKey is used to mark whether the hook is done.
# Structs
DriverHandle encapsulates a driver plugin client and task identifier and exposes an api to perform driver operations on the task.
LazyHandle is used to front calls to a DriverHandle where it is expected the existing handle may no longer be valid because the backing plugin has shutdown.
# Interfaces
StatsUpdater is the interface required by the StatsHook to update stats.