Searched defs:LocalFile (Results 1 – 1 of 1) sorted by relevance
225 pub struct LocalFile { struct229 // SAFETY: The type invariants guarantee that `LocalFile` is always ref-counted. This implementation argument231 unsafe impl AlwaysRefCounted for LocalFile { implementation239 unsafe fn dec_ref(obj: ptr::NonNull<LocalFile>) { in dec_ref()247 impl LocalFile { impl257 pub fn fget(fd: u32) -> Result<ARef<LocalFile>, BadFdError> { in fget()278 pub unsafe fn from_raw_file<'a>(ptr: *const bindings::file) -> &'a LocalFile { in from_raw_file()365 fn deref(&self) -> &LocalFile { in deref()