blob: 5d8a8a6461b8e9c8a45038cb41caedf935f8205c [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include "src/connectivity/overnet/lib/vocabulary/once_fn.h"
#include "src/connectivity/overnet/lib/vocabulary/slice.h"
namespace overnet {
class TimeStamp;
struct LazySliceArgs {
const Border desired_border;
const size_t max_length;
const bool has_other_content = false;
};
using LazySlice = OnceFn<Slice(LazySliceArgs), 32 * sizeof(void*)>;
} // namespace overnet