Struct ashpd::desktop::camera::CameraProxy[][src]

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

The interface lets sandboxed applications access camera devices, such as web cams.

Implementations

Create a new instance of CameraProxy.

Get a reference to the underlying Proxy.

Requests an access to the camera.

Open a file descriptor to the PipeWire remote where the camera nodes are available.

Returns a File descriptor of an open PipeWire remote.

A boolean stating whether there is any cameras available.

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.