Struct parquet_format_safe::SplitBlockAlgorithm
source · pub struct SplitBlockAlgorithm {}
Expand description
Block-based algorithm type annotation. *
Implementations§
source§impl SplitBlockAlgorithm
impl SplitBlockAlgorithm
pub fn new() -> SplitBlockAlgorithm
pub fn read_from_in_protocol<T: TInputProtocol>(
i_prot: &mut T
) -> Result<SplitBlockAlgorithm>
pub async fn stream_from_in_protocol<T: TInputStreamProtocol>(
i_prot: &mut T
) -> Result<SplitBlockAlgorithm>
pub fn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T
) -> Result<usize>
pub async fn write_to_out_stream_protocol<T: TOutputStreamProtocol>(
&self,
o_prot: &mut T
) -> Result<usize>
Trait Implementations§
source§impl AsyncReadThrift for SplitBlockAlgorithm
impl AsyncReadThrift for SplitBlockAlgorithm
source§fn stream_from_in_protocol<'life0, 'async_trait, T>(
i_prot: &'life0 mut T
) -> Pin<Box<dyn Future<Output = Result<SplitBlockAlgorithm>> + Send + 'async_trait>>where
T: 'async_trait + TInputStreamProtocol,
'life0: 'async_trait,
fn stream_from_in_protocol<'life0, 'async_trait, T>(
i_prot: &'life0 mut T
) -> Pin<Box<dyn Future<Output = Result<SplitBlockAlgorithm>> + Send + 'async_trait>>where
T: 'async_trait + TInputStreamProtocol,
'life0: 'async_trait,
Available on crate feature
async
only.source§impl Clone for SplitBlockAlgorithm
impl Clone for SplitBlockAlgorithm
source§fn clone(&self) -> SplitBlockAlgorithm
fn clone(&self) -> SplitBlockAlgorithm
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SplitBlockAlgorithm
impl Debug for SplitBlockAlgorithm
source§impl Default for SplitBlockAlgorithm
impl Default for SplitBlockAlgorithm
source§fn default() -> SplitBlockAlgorithm
fn default() -> SplitBlockAlgorithm
Returns the “default value” for a type. Read more
source§impl Hash for SplitBlockAlgorithm
impl Hash for SplitBlockAlgorithm
source§impl Ord for SplitBlockAlgorithm
impl Ord for SplitBlockAlgorithm
source§fn cmp(&self, other: &SplitBlockAlgorithm) -> Ordering
fn cmp(&self, other: &SplitBlockAlgorithm) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SplitBlockAlgorithm> for SplitBlockAlgorithm
impl PartialEq<SplitBlockAlgorithm> for SplitBlockAlgorithm
source§fn eq(&self, other: &SplitBlockAlgorithm) -> bool
fn eq(&self, other: &SplitBlockAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SplitBlockAlgorithm> for SplitBlockAlgorithm
impl PartialOrd<SplitBlockAlgorithm> for SplitBlockAlgorithm
source§fn partial_cmp(&self, other: &SplitBlockAlgorithm) -> Option<Ordering>
fn partial_cmp(&self, other: &SplitBlockAlgorithm) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more