pub struct Hub { /* private fields */ }Implementations§
Source§impl Hub
impl Hub
Sourcepub fn poll_m4a(&self) -> usize
pub fn poll_m4a(&self) -> usize
Core’s own m4a (the in-process mailbox engine): read run.close letters that nodes’
sessions sent to the operator mailbox and close the named run when the letter comes
from the run’s node. Each letter is acknowledged once handled. Returns runs closed.
Sourcepub fn recommend(&self, role: &str) -> Result<Value, HubError>
pub fn recommend(&self, role: &str) -> Result<Value, HubError>
Routing recommendation for role (operator API and node door).
pub fn open(data_dir: &Path) -> Result<Self, ServerError>
Auto Trait Implementations§
impl !Freeze for Hub
impl RefUnwindSafe for Hub
impl Send for Hub
impl Sync for Hub
impl Unpin for Hub
impl UnsafeUnpin for Hub
impl UnwindSafe for Hub
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