fidl/serializable.rs
1// Copyright 2018 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
5//! Support for `@serializable` types.
6
7/// Trait implemented by `@serializable` types.
8pub trait Serializable {
9 /// The serialized name.
10 const SERIALIZABLE_NAME: &'static str;
11}