summaryrefslogtreecommitdiffstats
path: root/third_party/rust/fuchsia-zircon/src/job.rs
blob: 1bb1ef274d9a006efeaa7fc94b1974b7d201ba41 (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 job.

use {AsHandleRef, HandleBased, Handle, HandleRef};

/// An object representing a Zircon job.
///
/// As essentially a subtype of `Handle`, it can be freely interconverted.
#[derive(Debug, Eq, PartialEq)]
pub struct Job(Handle);
impl_handle_based!(Job);