pub struct Handle {
pub token: Token,
pub desc: Description,
pub user_defined_desc: Option<*const ()>,
pub data: *const (),
}
Expand description
File description handle. created by implementator.
Fields§
§token: Token
Token
associated with this handle object
desc: Description
File description variant
user_defined_desc: Option<*const ()>
Additional user-defined fd metadata
data: *const ()
user-defined context data for this file handle.
Implementations§
Trait Implementations§
Source§impl<T> From<(Description, T)> for Handle
impl<T> From<(Description, T)> for Handle
Source§fn from(value: (Description, T)) -> Self
fn from(value: (Description, T)) -> Self
Converts to this type from the input type.
Source§impl<UDDESC, T> From<(Description, UDDESC, T)> for Handle
impl<UDDESC, T> From<(Description, UDDESC, T)> for Handle
Source§fn from(value: (Description, UDDESC, T)) -> Self
fn from(value: (Description, UDDESC, T)) -> Self
Converts to this type from the input type.
Source§impl<UDDESC, T> From<(Description, UDDESC, Token, T)> for Handle
impl<UDDESC, T> From<(Description, UDDESC, Token, T)> for Handle
Source§fn from(value: (Description, UDDESC, Token, T)) -> Self
fn from(value: (Description, UDDESC, Token, T)) -> Self
Converts to this type from the input type.
Source§impl<T> From<Handle> for TypedHandle<T>
impl<T> From<Handle> for TypedHandle<T>
Source§impl Ord for Handle
impl Ord for Handle
Source§impl PartialOrd for Handle
impl PartialOrd for Handle
impl Copy for Handle
impl Eq for Handle
impl Send for Handle
impl StructuralPartialEq for Handle
impl Sync for Handle
Auto Trait Implementations§
impl Freeze for Handle
impl RefUnwindSafe for Handle
impl Unpin for Handle
impl UnwindSafe for Handle
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