pub struct AcceptError {
pub cause: ConnectionError,
pub response: Option<Transmit>,
}
Expand description
Error type for attempting to accept an Incoming
Fields§
§cause: ConnectionError
Underlying error describing reason for failure
response: Option<Transmit>
Optional response to transmit back
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for AcceptError
impl RefUnwindSafe for AcceptError
impl Send for AcceptError
impl Sync for AcceptError
impl Unpin for AcceptError
impl UnwindSafe for AcceptError
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