pub enum RejectConn {
UnknownDatabase,
UnknownUser,
InternalError,
}Expand description
RejectConn contains reasons for rejecting an incoming connection.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RejectConn
impl RefUnwindSafe for RejectConn
impl Send for RejectConn
impl Sync for RejectConn
impl Unpin for RejectConn
impl UnsafeUnpin for RejectConn
impl UnwindSafe for RejectConn
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