blob: aef00cdda7819f27271e4dcf3d2b067d824b0d62 [file] [log] [blame]
// Copyright 2020 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 profile objects.
use crate::{AsHandleRef, Handle, HandleBased, HandleRef};
/// An object representing a Zircon
/// [profile](
/// As essentially a subtype of `Handle`, it can be freely interconverted.
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct Profile(Handle);
// TODO: This is just a stub to enable these handles to be provided over FIDL. We still need to
// implement the rest of the bindings here.