pub struct AuthToken(/* private fields */);
Expand description
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 Copy for AuthToken
impl Eq for AuthToken
impl StructuralPartialEq for AuthToken
Auto Trait Implementations§
impl Freeze for AuthToken
impl RefUnwindSafe for AuthToken
impl Send for AuthToken
impl Sync for AuthToken
impl Unpin for AuthToken
impl UnwindSafe for AuthToken
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)