pub struct DefaultSendErrorCallback;Available on crate feature
pipe only.Expand description
Default SendErrorCallback.
It ignores errors (except dnet_base::Error::Closed error - which results in closing pipe).
Trait Implementations§
Source§impl Debug for DefaultSendErrorCallback
impl Debug for DefaultSendErrorCallback
Source§impl<Message, Error> SendErrorCallback<Message, Error> for DefaultSendErrorCallback
impl<Message, Error> SendErrorCallback<Message, Error> for DefaultSendErrorCallback
Source§fn on_send_error(
&mut self,
_message: &Message,
error: Error<Error>,
) -> ErrorHandlingStrategy
fn on_send_error( &mut self, _message: &Message, error: Error<Error>, ) -> ErrorHandlingStrategy
Handle sending error. Read more
Auto Trait Implementations§
impl Freeze for DefaultSendErrorCallback
impl RefUnwindSafe for DefaultSendErrorCallback
impl Send for DefaultSendErrorCallback
impl Sync for DefaultSendErrorCallback
impl Unpin for DefaultSendErrorCallback
impl UnsafeUnpin for DefaultSendErrorCallback
impl UnwindSafe for DefaultSendErrorCallback
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