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