blob: be482375d4a728852251e751cf9c60a71343a91f [file] [log] [blame]
// 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 thread.
use {AsHandleRef, HandleBased, Handle, HandleRef};
/// An object representing a Zircon thread.
/// As essentially a subtype of `Handle`, it can be freely interconverted.
#[derive(Debug, Eq, PartialEq)]
pub struct Thread(Handle);