pub struct NodeDescriptor {
pub client_request_handler: Option<Arc<String>>,
pub p2p_request_handler: Option<Arc<String>>,
pub all_handlers: HashMap<Arc<String>, Arc<Mutex<Option<UntypedHandlerBox>>>>,
}Fields§
§client_request_handler: Option<Arc<String>>§p2p_request_handler: Option<Arc<String>>§all_handlers: HashMap<Arc<String>, Arc<Mutex<Option<UntypedHandlerBox>>>>Implementations§
Trait Implementations§
Source§impl Debug for NodeDescriptor
impl Debug for NodeDescriptor
Auto Trait Implementations§
impl Freeze for NodeDescriptor
impl RefUnwindSafe for NodeDescriptor
impl Send for NodeDescriptor
impl Sync for NodeDescriptor
impl Unpin for NodeDescriptor
impl UnwindSafe for NodeDescriptor
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