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