Struct parquet_format_safe::NanoSeconds
source · pub struct NanoSeconds {}
Implementations§
source§impl NanoSeconds
impl NanoSeconds
pub fn new() -> NanoSeconds
pub fn read_from_in_protocol<T: TInputProtocol>(
i_prot: &mut T
) -> Result<NanoSeconds>
pub async fn stream_from_in_protocol<T: TInputStreamProtocol>(
i_prot: &mut T
) -> Result<NanoSeconds>
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 NanoSeconds
impl AsyncReadThrift for NanoSeconds
source§fn stream_from_in_protocol<'life0, 'async_trait, T>(
i_prot: &'life0 mut T
) -> Pin<Box<dyn Future<Output = Result<NanoSeconds>> + 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<NanoSeconds>> + Send + 'async_trait>>where
T: 'async_trait + TInputStreamProtocol,
'life0: 'async_trait,
Available on crate feature
async
only.source§impl Clone for NanoSeconds
impl Clone for NanoSeconds
source§fn clone(&self) -> NanoSeconds
fn clone(&self) -> NanoSeconds
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 NanoSeconds
impl Debug for NanoSeconds
source§impl Default for NanoSeconds
impl Default for NanoSeconds
source§fn default() -> NanoSeconds
fn default() -> NanoSeconds
Returns the “default value” for a type. Read more
source§impl Hash for NanoSeconds
impl Hash for NanoSeconds
source§impl Ord for NanoSeconds
impl Ord for NanoSeconds
source§fn cmp(&self, other: &NanoSeconds) -> Ordering
fn cmp(&self, other: &NanoSeconds) -> 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<NanoSeconds> for NanoSeconds
impl PartialEq<NanoSeconds> for NanoSeconds
source§fn eq(&self, other: &NanoSeconds) -> bool
fn eq(&self, other: &NanoSeconds) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NanoSeconds> for NanoSeconds
impl PartialOrd<NanoSeconds> for NanoSeconds
source§fn partial_cmp(&self, other: &NanoSeconds) -> Option<Ordering>
fn partial_cmp(&self, other: &NanoSeconds) -> 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