pub enum ServerError<Tx, Rx>{
TxFatal(Tx::Error),
RxFatal(Rx::Error),
}
Expand description
A type representing the different errors Server::run()
may return
Variants§
TxFatal(Tx::Error)
A fatal error occurred with the WireTx::send()
implementation
RxFatal(Rx::Error)
A fatal error occurred with the WireRx::receive()
implementation
Auto Trait Implementations§
impl<Tx, Rx> Freeze for ServerError<Tx, Rx>
impl<Tx, Rx> RefUnwindSafe for ServerError<Tx, Rx>
impl<Tx, Rx> Send for ServerError<Tx, Rx>
impl<Tx, Rx> Sync for ServerError<Tx, Rx>
impl<Tx, Rx> Unpin for ServerError<Tx, Rx>
impl<Tx, Rx> UnwindSafe for ServerError<Tx, Rx>
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