TimeoutConnectorStream provides set_read_timeout, set_write_timeout and get_mut methods, but they are hardly useful in practice because TimeoutConnector yields a Pin<Box<TimeoutConnectorStream<_>>> which does not implement DerefMut since TimeoutConnectorStream is !Unpin.
set_read_timeout_pinned, set_write_timeout_pinned, get_pin_mut are counterparts to the above methods which can be used through a Pin<&mut TimeoutConnectorStream>.
TimeoutConnectorStream
providesset_read_timeout
,set_write_timeout
andget_mut
methods, but they are hardly useful in practice becauseTimeoutConnector
yields aPin<Box<TimeoutConnectorStream<_>>>
which does not implementDerefMut
sinceTimeoutConnectorStream
is!Unpin
.set_read_timeout_pinned
,set_write_timeout_pinned
,get_pin_mut
are counterparts to the above methods which can be used through aPin<&mut TimeoutConnectorStream>
.