pub struct SchemaAsIpc<'a> {
pub pair: (&'a Schema, &'a IpcWriteOptions),
}
Expand description
SchemaAsIpc represents a pairing of a Schema
with IpcWriteOptions
Fields§
§pair: (&'a Schema, &'a IpcWriteOptions)
Data type representing a schema and its IPC write options
Implementations§
Source§impl<'a> SchemaAsIpc<'a>
impl<'a> SchemaAsIpc<'a>
Sourcepub fn new(schema: &'a Schema, options: &'a IpcWriteOptions) -> Self
pub fn new(schema: &'a Schema, options: &'a IpcWriteOptions) -> Self
Create a new SchemaAsIpc
from a Schema
and IpcWriteOptions
Trait Implementations§
Source§impl<'a> Deref for SchemaAsIpc<'a>
impl<'a> Deref for SchemaAsIpc<'a>
Source§impl From<SchemaAsIpc<'_>> for FlightData
impl From<SchemaAsIpc<'_>> for FlightData
Source§fn from(schema_ipc: SchemaAsIpc<'_>) -> Self
fn from(schema_ipc: SchemaAsIpc<'_>) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SchemaAsIpc<'_>> for IpcMessage
impl TryFrom<SchemaAsIpc<'_>> for IpcMessage
Source§type Error = ArrowError
type Error = ArrowError
The type returned in the event of a conversion error.
Source§fn try_from(schema_ipc: SchemaAsIpc<'_>) -> Result<Self, ArrowError>
fn try_from(schema_ipc: SchemaAsIpc<'_>) -> Result<Self, ArrowError>
Performs the conversion.
Source§impl TryFrom<SchemaAsIpc<'_>> for SchemaResult
impl TryFrom<SchemaAsIpc<'_>> for SchemaResult
Source§type Error = ArrowError
type Error = ArrowError
The type returned in the event of a conversion error.
Source§fn try_from(schema_ipc: SchemaAsIpc<'_>) -> Result<Self, ArrowError>
fn try_from(schema_ipc: SchemaAsIpc<'_>) -> Result<Self, ArrowError>
Performs the conversion.
Auto Trait Implementations§
impl<'a> Freeze for SchemaAsIpc<'a>
impl<'a> RefUnwindSafe for SchemaAsIpc<'a>
impl<'a> Send for SchemaAsIpc<'a>
impl<'a> Sync for SchemaAsIpc<'a>
impl<'a> Unpin for SchemaAsIpc<'a>
impl<'a> UnwindSafe for SchemaAsIpc<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered
].