Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer-rs gstreamer-rs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamer-rsgstreamer-rs
  • Merge requests
  • !200

Replace XXXReturn with Result<XXXSuccess, XXXError>

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged François Laignel requested to merge fengalin/gstreamer-rs:return_2_success_error into master Jan 11, 2019
  • Overview 11
  • Commits 1
  • Pipelines 5
  • Changes 64

These breaking changes aim at improving usability by allowing users to take advantage of Rust error management features sur as ok_or, map_err, expect and the ? operator. See the examples and tutorials to get an idea of the impacts.

This is part of the improvements disccused in !196 (closed). See !196 (comment 98805) for a decision to chunk the MR.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: return_2_success_error