pub struct ErrorPlaceHolder;
Expand description
A placeholder error type used in generic contexts where the specific transport
error is not yet known. This is a common pattern for implementing encode
methods
that need to return a Result
compatible with the client’s error type.
Trait Implementations§
Source§impl Debug for ErrorPlaceHolder
impl Debug for ErrorPlaceHolder
impl TransportError for ErrorPlaceHolder
Auto Trait Implementations§
impl Freeze for ErrorPlaceHolder
impl RefUnwindSafe for ErrorPlaceHolder
impl Send for ErrorPlaceHolder
impl Sync for ErrorPlaceHolder
impl Unpin for ErrorPlaceHolder
impl UnwindSafe for ErrorPlaceHolder
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