pub struct DefaultReceiveErrorCallback;Available on crate feature
pipe only.Expand description
Default ReceiveErrorCallback.
It ignores errors.
Trait Implementations§
Source§impl Debug for DefaultReceiveErrorCallback
impl Debug for DefaultReceiveErrorCallback
Source§impl<Error> ReceiveErrorCallback<Error> for DefaultReceiveErrorCallback
impl<Error> ReceiveErrorCallback<Error> for DefaultReceiveErrorCallback
Source§fn on_receive_error(&mut self, _error: Error) -> ErrorHandlingStrategy
fn on_receive_error(&mut self, _error: Error) -> ErrorHandlingStrategy
Handle receiving error.
Auto Trait Implementations§
impl Freeze for DefaultReceiveErrorCallback
impl RefUnwindSafe for DefaultReceiveErrorCallback
impl Send for DefaultReceiveErrorCallback
impl Sync for DefaultReceiveErrorCallback
impl Unpin for DefaultReceiveErrorCallback
impl UnsafeUnpin for DefaultReceiveErrorCallback
impl UnwindSafe for DefaultReceiveErrorCallback
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