sandbox/fidl/handle.rs
1// Copyright 2024 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
5use crate::Handle;
6use fidl_fuchsia_component_sandbox as fsandbox;
7
8impl crate::RemotableCapability for Handle {}
9
10impl From<Handle> for fsandbox::Capability {
11 fn from(handle: Handle) -> Self {
12 Self::Handle(handle.into())
13 }
14}