pub struct PortAllocator {}Implementations§
Source§impl PortAllocator
impl PortAllocator
pub fn find_available_port(ports_path: &Path) -> Result<u16>
Auto Trait Implementations§
impl Freeze for PortAllocator
impl RefUnwindSafe for PortAllocator
impl Send for PortAllocator
impl Sync for PortAllocator
impl Unpin for PortAllocator
impl UnwindSafe for PortAllocator
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