Struct ashpd::desktop::open_uri::OpenURIProxy[][src]

pub struct OpenURIProxy<'a>(_);
Expand description

The interface lets sandboxed applications open URIs (e.g. a http: link to the applications homepage) under the control of the user.

Implementations

Create a new instance of OpenURIProxy.

Get a reference to the underlying Proxy.

Asks to open the directory containing a local file in the file browser.

Arguments

  • identifier - Identifier for the application window.
  • directory - File descriptor for a file.

Asks to open a local file.

Arguments

  • identifier - Identifier for the application window.
  • file - File descriptor for the file to open.
  • writeable - Whether the file should be writeable or not.
  • ask - Whether to always ask the user which application to use or not.

Asks to open a local file.

Arguments

  • identifier - Identifier for the application window.
  • uri - The uri to open.
  • writeable - Whether the file should be writeable or not.
  • ask - Whether to always ask the user which application to use or not.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.