pub enum HelloError {
Rejected(ProtocolError),
Invalid(String),
Closed,
Io(Error),
}Variants§
Rejected(ProtocolError)
The server’s hello_error.
Invalid(String)
The peer broke the protocol (ProtocolValidationError).
Closed
The transport ended before the server’s hello.
Io(Error)
Trait Implementations§
Source§impl Debug for HelloError
impl Debug for HelloError
Auto Trait Implementations§
impl !RefUnwindSafe for HelloError
impl !UnwindSafe for HelloError
impl Forget for HelloError
impl Freeze for HelloError
impl Move for HelloError
impl Send for HelloError
impl Sync for HelloError
impl Unpin for HelloError
impl UnsafeUnpin for HelloError
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