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, WeakInstanceToken};
6use fidl_fuchsia_component_sandbox as fsandbox;
7
8impl crate::RemotableCapability for Handle {}
9
10impl crate::fidl::IntoFsandboxCapability for Handle {
11    fn into_fsandbox_capability(self, _token: WeakInstanceToken) -> fsandbox::Capability {
12        fsandbox::Capability::Handle(self.into())
13    }
14}