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