Struct iroh_blobs::util::progress::IgnoreProgressSender
source · pub struct IgnoreProgressSender<T>(/* private fields */);
Expand description
A no-op progress sender.
Trait Implementations§
source§impl<T> Clone for IgnoreProgressSender<T>
impl<T> Clone for IgnoreProgressSender<T>
source§impl<T> Debug for IgnoreProgressSender<T>
impl<T> Debug for IgnoreProgressSender<T>
source§impl<T> Default for IgnoreProgressSender<T>
impl<T> Default for IgnoreProgressSender<T>
source§impl<T> IdGenerator for IgnoreProgressSender<T>
impl<T> IdGenerator for IgnoreProgressSender<T>
source§impl<T: Send + Sync + 'static> ProgressSender for IgnoreProgressSender<T>
impl<T: Send + Sync + 'static> ProgressSender for IgnoreProgressSender<T>
source§async fn send(&self, _msg: T) -> Result<(), ProgressSendError>
async fn send(&self, _msg: T) -> Result<(), ProgressSendError>
Send a message and wait if the receiver is full. Read more
source§fn try_send(&self, _msg: T) -> Result<(), ProgressSendError>
fn try_send(&self, _msg: T) -> Result<(), ProgressSendError>
Try to send a message and drop it if the receiver is full. Read more
source§fn blocking_send(&self, _msg: T) -> Result<(), ProgressSendError>
fn blocking_send(&self, _msg: T) -> Result<(), ProgressSendError>
Send a message and block if the receiver is full. Read more
source§fn with_map<U: Send + Sync + 'static, F: Fn(U) -> Self::Msg + Send + Sync + Clone + 'static>(
self,
f: F
) -> WithMap<Self, U, F>
fn with_map<U: Send + Sync + 'static, F: Fn(U) -> Self::Msg + Send + Sync + Clone + 'static>( self, f: F ) -> WithMap<Self, U, F>
Transform the message type by mapping to the type of this sender.
source§fn with_filter_map<U: Send + Sync + 'static, F: Fn(U) -> Option<Self::Msg> + Send + Sync + Clone + 'static>(
self,
f: F
) -> WithFilterMap<Self, U, F>
fn with_filter_map<U: Send + Sync + 'static, F: Fn(U) -> Option<Self::Msg> + Send + Sync + Clone + 'static>( self, f: F ) -> WithFilterMap<Self, U, F>
Transform the message type by filter-mapping to the type of this sender.
source§fn boxed(self) -> BoxedProgressSender<Self::Msg>where
Self: IdGenerator,
fn boxed(self) -> BoxedProgressSender<Self::Msg>where
Self: IdGenerator,
Create a boxed progress sender to get rid of the concrete type.
Auto Trait Implementations§
impl<T> Freeze for IgnoreProgressSender<T>
impl<T> RefUnwindSafe for IgnoreProgressSender<T>where
T: RefUnwindSafe,
impl<T> Send for IgnoreProgressSender<T>where
T: Send,
impl<T> Sync for IgnoreProgressSender<T>where
T: Sync,
impl<T> Unpin for IgnoreProgressSender<T>where
T: Unpin,
impl<T> UnwindSafe for IgnoreProgressSender<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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