pub struct Wiring<U, C> { /* private fields */ }Expand description
The two peers a loop forwards between, and the policy it degrades under.
Not a half-built Bridge and not a way to make one: it is everything
true of a bridge before a client has said anything, gathered so
BridgeLoop::new takes four arguments rather than eight. The field order
matches Bridge::new — the same five facts, in the same sequence — so
moving between the two is not a re-reading exercise.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<U, C> Freeze for Wiring<U, C>
impl<U, C> RefUnwindSafe for Wiring<U, C>where
U: RefUnwindSafe,
C: RefUnwindSafe,
impl<U, C> Send for Wiring<U, C>
impl<U, C> Sync for Wiring<U, C>
impl<U, C> Unpin for Wiring<U, C>
impl<U, C> UnsafeUnpin for Wiring<U, C>where
U: UnsafeUnpin,
C: UnsafeUnpin,
impl<U, C> UnwindSafe for Wiring<U, C>where
U: UnwindSafe,
C: UnwindSafe,
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