pub struct SequentialPortAllocator { /* private fields */ }
Trait Implementations§
source§impl Clone for SequentialPortAllocator
impl Clone for SequentialPortAllocator
source§fn clone(&self) -> SequentialPortAllocator
fn clone(&self) -> SequentialPortAllocator
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SequentialPortAllocator
impl Debug for SequentialPortAllocator
source§impl Default for SequentialPortAllocator
impl Default for SequentialPortAllocator
source§impl PortAllocator for SequentialPortAllocator
impl PortAllocator for SequentialPortAllocator
fn next_port(&mut self, local_endpoint: SocketAddrV4) -> u16
Auto Trait Implementations§
impl RefUnwindSafe for SequentialPortAllocator
impl Send for SequentialPortAllocator
impl Sync for SequentialPortAllocator
impl Unpin for SequentialPortAllocator
impl UnwindSafe for SequentialPortAllocator
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