pub struct PollingErrorPolicyArg(/* private fields */);Expand description
A helper type to use PollingErrorPolicy in client and request options.
Trait Implementations§
Source§impl Clone for PollingErrorPolicyArg
impl Clone for PollingErrorPolicyArg
Source§fn clone(&self) -> PollingErrorPolicyArg
fn clone(&self) -> PollingErrorPolicyArg
Returns a duplicate 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 From<Arc<dyn PollingErrorPolicy>> for PollingErrorPolicyArg
impl From<Arc<dyn PollingErrorPolicy>> for PollingErrorPolicyArg
Source§fn from(value: Arc<dyn PollingErrorPolicy>) -> Self
fn from(value: Arc<dyn PollingErrorPolicy>) -> Self
Converts to this type from the input type.
Source§impl<T> From<T> for PollingErrorPolicyArgwhere
T: PollingErrorPolicy + 'static,
impl<T> From<T> for PollingErrorPolicyArgwhere
T: PollingErrorPolicy + 'static,
Auto Trait Implementations§
impl Freeze for PollingErrorPolicyArg
impl !RefUnwindSafe for PollingErrorPolicyArg
impl Send for PollingErrorPolicyArg
impl Sync for PollingErrorPolicyArg
impl Unpin for PollingErrorPolicyArg
impl !UnwindSafe for PollingErrorPolicyArg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more