pub struct ErrorPlaceHolder;
Expand description
A placeholder error type used in contexts where the actual transport error is not known,
such as in the EncodePacket
trait.
Trait Implementations§
Source§impl Clone for ErrorPlaceHolder
impl Clone for ErrorPlaceHolder
Source§fn clone(&self) -> ErrorPlaceHolder
fn clone(&self) -> ErrorPlaceHolder
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 Debug for ErrorPlaceHolder
impl Debug for ErrorPlaceHolder
impl Copy 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