pub enum AcceptResult {
Ok(TcpStream, SocketAddr),
TooManyOpenFiles,
Err(Error),
}Variants§
Implementations§
Source§impl AcceptResult
impl AcceptResult
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AcceptResult
impl !RefUnwindSafe for AcceptResult
impl Send for AcceptResult
impl Sync for AcceptResult
impl Unpin for AcceptResult
impl !UnwindSafe for AcceptResult
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