pub struct BuilderNetwork<K, V> { /* private fields */ }Implementations§
Source§impl<K: Send + 'static + Clone + Eq + Hash + Serialize + DeserializeOwned, V: Send + Clone + DeserializeOwned + Serialize + 'static> BuilderNetwork<K, V>
impl<K: Send + 'static + Clone + Eq + Hash + Serialize + DeserializeOwned, V: Send + Clone + DeserializeOwned + Serialize + 'static> BuilderNetwork<K, V>
pub fn init() -> BuilderNetwork<K, V>
pub fn address(&mut self, address: String) -> &mut Self
pub fn connect(self) -> NetworkCache<K, V>
Auto Trait Implementations§
impl<K, V> !Freeze for BuilderNetwork<K, V>
impl<K, V> RefUnwindSafe for BuilderNetwork<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for BuilderNetwork<K, V>
impl<K, V> Sync for BuilderNetwork<K, V>
impl<K, V> Unpin for BuilderNetwork<K, V>
impl<K, V> UnwindSafe for BuilderNetwork<K, V>where
K: UnwindSafe,
V: 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