Struct drm::AuthToken[][src]

pub struct AuthToken(_);

An authentication token, unique to the file descriptor of the device.

This token can be sent to another process that owns the DRM Master lock to allow unprivileged use of the device, such as rendering.

Deprecation Notes

This method of authentication is somewhat deprecated. Accessing unprivileged functionality is best done by opening a render node. However, some other processes may still use this method of authentication. Therefore, we still provide functionality for generating and authenticating these tokens.

Trait Implementations

impl Clone for AuthToken[src]

impl Copy for AuthToken[src]

impl Debug for AuthToken[src]

impl Eq for AuthToken[src]

impl Hash for AuthToken[src]

impl PartialEq<AuthToken> for AuthToken[src]

impl StructuralEq for AuthToken[src]

impl StructuralPartialEq for AuthToken[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.