pub struct FileHandle(/* private fields */);
Expand description
Platform-specific file handle.
Implementations§
Source§impl FileHandle
impl FileHandle
Sourcepub fn new(id: u64) -> FileHandle
pub fn new(id: u64) -> FileHandle
Creates a new FileHandle
. Should only be created in the platform
implementation, which also knows how the inner value is going to be
used.
Sourcepub fn inner(self) -> u64
pub fn inner(self) -> u64
Returns the inner value passed into FileHandle::new
. Generally only
relevant to the platform implementation.
Trait Implementations§
Source§impl Clone for FileHandle
impl Clone for FileHandle
Source§fn clone(&self) -> FileHandle
fn clone(&self) -> FileHandle
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FileHandle
impl Debug for FileHandle
Source§impl PartialEq for FileHandle
impl PartialEq for FileHandle
impl Copy for FileHandle
impl StructuralPartialEq for FileHandle
Auto Trait Implementations§
impl Freeze for FileHandle
impl RefUnwindSafe for FileHandle
impl Send for FileHandle
impl Sync for FileHandle
impl Unpin for FileHandle
impl UnwindSafe for FileHandle
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