Enum hdk::prelude::TimestampError [−]
pub enum TimestampError {
Overflow,
ParseError(ParseError),
}
Variants
Overflow
ParseError(ParseError)
Tuple Fields
0: ParseError
Trait Implementations
impl Clone for TimestampError
impl Clone for TimestampError
pub fn clone(&self) -> TimestampError
pub fn clone(&self) -> TimestampError
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for TimestampError
impl Debug for TimestampError
impl Display for TimestampError
impl Display for TimestampError
impl Error for TimestampError
impl Error for TimestampError
impl From<ParseError> for TimestampError
impl From<ParseError> for TimestampError
pub fn from(source: ParseError) -> TimestampError
pub fn from(source: ParseError) -> TimestampError
Performs the conversion.
impl PartialEq<TimestampError> for TimestampError
impl PartialEq<TimestampError> for TimestampError
pub fn eq(&self, other: &TimestampError) -> bool
pub fn eq(&self, other: &TimestampError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &TimestampError) -> bool
pub fn ne(&self, other: &TimestampError) -> bool
This method tests for !=
.
impl StructuralPartialEq for TimestampError
Auto Trait Implementations
impl RefUnwindSafe for TimestampError
impl Send for TimestampError
impl Sync for TimestampError
impl Unpin for TimestampError
impl UnwindSafe for TimestampError
Blanket Implementations
Mutably borrows from an owned value. Read more
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
Notable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
Notable traits for WithDispatch<T>
impl<T> Future for WithDispatch<T> where
T: Future, type Output = <T as Future>::Output;
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more