Struct disarray_core::Provider
source · [−]pub struct Provider<Addr = String> {
pub address: Addr,
pub clients: Vec<BoxedTransport>,
}
Fields
address: Addr
clients: Vec<BoxedTransport>
Implementations
sourceimpl<Addr> Provider<Addr>
impl<Addr> Provider<Addr>
pub fn constructor(address: Addr, clients: Vec<BoxedTransport>) -> Self
Trait Implementations
Auto Trait Implementations
impl<Addr = String> !RefUnwindSafe for Provider<Addr>
impl<Addr> Send for Provider<Addr> where
Addr: Send,
impl<Addr = String> !Sync for Provider<Addr>
impl<Addr> Unpin for Provider<Addr> where
Addr: Unpin,
impl<Addr = String> !UnwindSafe for Provider<Addr>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more