From ce5cc556d8790a371d054118248bc43cc1e00137 Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Fri, 10 May 2024 17:17:18 +0100 Subject: [PATCH] merge --- vortex-ipc/src/messages.rs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/vortex-ipc/src/messages.rs b/vortex-ipc/src/messages.rs index a0e70daf24..80b34f333e 100644 --- a/vortex-ipc/src/messages.rs +++ b/vortex-ipc/src/messages.rs @@ -10,16 +10,19 @@ use crate::flatbuffers::ipc as fb; use crate::flatbuffers::ipc::Compression; use crate::{missing, ALIGNMENT}; -pub enum IPCMessage<'a> { +pub(crate) enum IPCMessage<'a> { Context(IPCContext<'a>), Schema(IPCSchema<'a>), Chunk(IPCChunk<'a>), } -pub struct IPCContext<'a>(pub &'a ViewContext); -pub struct IPCSchema<'a>(pub &'a DType); -pub struct IPCChunk<'a>(pub &'a ViewContext, pub &'a ArrayData); -pub struct IPCArray<'a>(pub &'a ViewContext, pub &'a ArrayData); +pub(crate) struct IPCContext<'a>(pub &'a ViewContext); + +pub(crate) struct IPCSchema<'a>(pub &'a DType); + +pub(crate) struct IPCChunk<'a>(pub &'a ViewContext, pub &'a ArrayData); + +pub(crate) struct IPCArray<'a>(pub &'a ViewContext, pub &'a ArrayData); impl FlatBufferRoot for IPCMessage<'_> {}