bt_obex::server

Function new_operation_error

Source
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.