pub struct AdoptSpec { /* private fields */ }Expand description
Where Server::adopt registers a connection: the listener (by name) whose
limits and caps apply, and an optional starting lane (the gate may change it).
let spec = net_io::AdoptSpec::new("main").lane(net_io::Lane(1));Implementations§
Trait Implementations§
impl Eq for AdoptSpec
impl StructuralPartialEq for AdoptSpec
Auto Trait Implementations§
impl Freeze for AdoptSpec
impl RefUnwindSafe for AdoptSpec
impl Send for AdoptSpec
impl Sync for AdoptSpec
impl Unpin for AdoptSpec
impl UnsafeUnpin for AdoptSpec
impl UnwindSafe for AdoptSpec
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