pub fn new_operation_error(
code: ResponseCode,
reason: &str,
) -> ObexOperationError
Expand description
Helper function for creating an ObexOperationError with the specified ResponseCode and a Header::Description with the reason.
pub fn new_operation_error(
code: ResponseCode,
reason: &str,
) -> ObexOperationError
Helper function for creating an ObexOperationError with the specified ResponseCode and a Header::Description with the reason.