Struct crystalorb_mock_network::MockChannel [−][src]
pub struct MockChannel<T> {
pub inbox: Rc<RefCell<DelayedQueue<T>>>,
pub outbox: Rc<RefCell<DelayedQueue<T>>>,
}
Fields
inbox: Rc<RefCell<DelayedQueue<T>>>
outbox: Rc<RefCell<DelayedQueue<T>>>
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for MockChannel<T>
impl<T> !Send for MockChannel<T>
impl<T> !Sync for MockChannel<T>
impl<T> Unpin for MockChannel<T>
impl<T> !UnwindSafe for MockChannel<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more