Struct ashpd::desktop::device::DeviceProxy[][src]

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

The interface lets services ask if an application should get access to devices such as microphones, speakers or cameras. Not a portal in the strict sense, since the API is not directly accessible to applications inside the sandbox.

Implementations

Create a new instance of DeviceProxy.

Get a reference to the underlying Proxy.

Asks for access to a device.

Arguments

  • pid - The pid of the application on whose behalf the request is made.
  • devices - A list of devices to request access to.

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.