pub enum Hold {
Tcp(TcpListener),
Udp(UdpSocket),
}Variants§
Tcp(TcpListener)
Udp(UdpSocket)
Auto Trait Implementations§
impl Forget for Hold
impl Freeze for Holdwhere
I32NotAllOnes: Freeze,
impl Move for Hold
impl RefUnwindSafe for Holdwhere
I32NotAllOnes: RefUnwindSafe,
impl Send for Holdwhere
I32NotAllOnes: Send,
impl Sync for Holdwhere
I32NotAllOnes: Sync,
impl Unpin for Holdwhere
I32NotAllOnes: Unpin,
impl UnsafeUnpin for Holdwhere
I32NotAllOnes: UnsafeUnpin,
impl UnwindSafe for Holdwhere
I32NotAllOnes: UnwindSafe,
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