1 // Copyright 2017 The Fuchsia Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 //! Type-safe bindings for Zircon process.
6 
7 use {AsHandleRef, HandleBased, Handle, HandleRef};
8 
9 /// An object representing a Zircon process.
10 ///
11 /// As essentially a subtype of `Handle`, it can be freely interconverted.
12 #[derive(Debug, Eq, PartialEq)]
13 pub struct Process(Handle);
14 impl_handle_based!(Process);