pub struct StaticUpstreams<T: Transport> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T: Transport> ConnectSource<T> for StaticUpstreams<T>
impl<T: Transport> ConnectSource<T> for StaticUpstreams<T>
fn poll_connect(&mut self, now: Instant) -> ConnectAction<T>
fn on_connect_outcome(&mut self, tag: u32, success: bool, now: Instant)
fn on_disconnect(&mut self, tag: u32, now: Instant)
Auto Trait Implementations§
impl<T> Freeze for StaticUpstreams<T>
impl<T> RefUnwindSafe for StaticUpstreams<T>
impl<T> Send for StaticUpstreams<T>
impl<T> Sync for StaticUpstreams<T>
impl<T> Unpin for StaticUpstreams<T>
impl<T> UnsafeUnpin for StaticUpstreams<T>
impl<T> UnwindSafe for StaticUpstreams<T>
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