fidl_next_bind/
decoded.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 fidl_next_codec::Decoded;
6use fidl_next_protocol::Transport;
7
8use super::Method;
9
10/// A decoded request.
11pub type Request<T, M> = Decoded<<M as Method>::Request, <T as Transport>::RecvBuffer>;
12
13/// A decoded response.
14pub type Response<T, M> = Decoded<<M as Method>::Response, <T as Transport>::RecvBuffer>;