pub type RegistryDisconnectResult = Result<(), i32>;
enum RegistryDisconnectResult { Ok(()), Err(i32), }
Contains the success value
Contains the error value