Enum fcm::RetryAfter
source · pub enum RetryAfter {
Delay(Duration),
DateTime(DateTime<FixedOffset>),
}
Variants
Delay(Duration)
Amount of time to wait until retrying the message is allowed.
DateTime(DateTime<FixedOffset>)
A point in time until retrying the message is allowed.
Implementations
sourceimpl RetryAfter
impl RetryAfter
pub fn from_str(header_value: &str) -> Option<RetryAfter>
Trait Implementations
sourceimpl Debug for RetryAfter
impl Debug for RetryAfter
sourceimpl PartialEq<RetryAfter> for RetryAfter
impl PartialEq<RetryAfter> for RetryAfter
sourcefn eq(&self, other: &RetryAfter) -> bool
fn eq(&self, other: &RetryAfter) -> bool
impl StructuralPartialEq for RetryAfter
Auto Trait Implementations
impl RefUnwindSafe for RetryAfter
impl Send for RetryAfter
impl Sync for RetryAfter
impl Unpin for RetryAfter
impl UnwindSafe for RetryAfter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more