pub struct HandleInfo {
pub handle: NullableHandle,
pub object_type: ObjectType,
pub rights: Rights,
}Fields§
§handle: NullableHandle§object_type: ObjectType§rights: RightsImplementations§
Source§impl HandleInfo
impl HandleInfo
pub fn new( handle: NullableHandle, object_type: ObjectType, rights: Rights, ) -> Self
pub fn object_type(&self) -> ObjectType
pub fn rights(&self) -> Rights
pub fn into_handle(self) -> NullableHandle
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HandleInfo
impl RefUnwindSafe for HandleInfo
impl Send for HandleInfo
impl Sync for HandleInfo
impl Unpin for HandleInfo
impl UnwindSafe for HandleInfo
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