Module display_tweak::utils

source ·

Functions

  • Unwraps the result of a FIDL call that errors out with a zx::result into a Result<T, E>.
  • Unwraps the result of a FIDL call that returns a zx::result into a Result<T, E>. If the result is an error, it has context attached to it.
  • Helper for accepting boolean values as “off” / “on” strings.