pub struct Registration {
pub shared: Arc<SessionShared>,
pub events: EventStream,
pub tasks: SessionTasks,
pub spec: Arc<NodeSpawnSpec>,
}Expand description
What the registration produced.
Fields§
The shared session state.
events: EventStreamThe node’s event stream.
tasks: SessionTasksThe running reader and writer tasks.
spec: Arc<NodeSpawnSpec>The effective specification the daemon assigned.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Registration
impl RefUnwindSafe for Registration
impl Send for Registration
impl Sync for Registration
impl Unpin for Registration
impl UnsafeUnpin for Registration
impl UnwindSafe for Registration
Blanket Implementations§
impl<T> Allocation for T
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