pub type ClientShutdownResult = Result<(), i32>;