Searched refs:LocalFile (Results 1 – 2 of 2) sorted by relevance
222 pub struct LocalFile { struct228 unsafe impl AlwaysRefCounted for LocalFile { implementation236 unsafe fn dec_ref(obj: ptr::NonNull<LocalFile>) { in dec_ref() argument243 impl LocalFile { implementation253 pub fn fget(fd: u32) -> Result<ARef<LocalFile>, BadFdError> { in fget() argument274 pub unsafe fn from_raw_file<'a>(ptr: *const bindings::file) -> &'a LocalFile { in from_raw_file() argument297 pub unsafe fn assume_no_fdget_pos(me: ARef<LocalFile>) -> ARef<File> { in assume_no_fdget_pos()359 type Target = LocalFile;361 fn deref(&self) -> &LocalFile { in deref() argument367 unsafe { LocalFile::from_raw_file(self as *const File as *const bindings::file) } in deref()
8 pub use self::file::{File, LocalFile};