Struct arrow_flight::SchemaAsIpc
source · 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)Implementations§
source§impl<'a> SchemaAsIpc<'a>
impl<'a> SchemaAsIpc<'a>
pub fn new(schema: &'a Schema, options: &'a IpcWriteOptions) -> Self
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
§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
§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> 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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request