pub struct DevManagementConversation<S: ResumeStore> { /* private fields */ }Expand description
The node-side conversation: opened by the dev host, served by the adapter loop.
Implementations§
Source§impl<S: ResumeStore> DevManagementConversation<S>
impl<S: ResumeStore> DevManagementConversation<S>
Sourcepub fn open(
attachment: &BusAttachment,
store: S,
) -> Result<(Self, ConversationId), AttachError>
pub fn open( attachment: &BusAttachment, store: S, ) -> Result<(Self, ConversationId), AttachError>
Opens the management conversation on the embedded bus, returning the id the handoff line advertises.
§Errors
The typed attach failure.
Sourcepub fn join(
attachment: &BusAttachment,
conversation: ConversationId,
store: S,
) -> Result<Self, AttachError>
pub fn join( attachment: &BusAttachment, conversation: ConversationId, store: S, ) -> Result<Self, AttachError>
Sourcepub fn handle_mut(&mut self) -> &mut ConversationHandle<S>
pub fn handle_mut(&mut self) -> &mut ConversationHandle<S>
The underlying handle, for the client side’s own request/subscribe
calls (frame dev drives requests directly; only the NODE side
runs the adapter serve loop).
Trait Implementations§
Source§impl<S: ResumeStore> ManagementConversation for DevManagementConversation<S>
impl<S: ResumeStore> ManagementConversation for DevManagementConversation<S>
Source§fn next_request(
&mut self,
wait: Duration,
) -> Result<Option<InboundManagement>, String>
fn next_request( &mut self, wait: Duration, ) -> Result<Option<InboundManagement>, String>
Source§fn reply(
&mut self,
correlation: CorrelationId,
reply: &DevReply,
) -> Result<(), String>
fn reply( &mut self, correlation: CorrelationId, reply: &DevReply, ) -> Result<(), String>
Publishes the exactly-one typed reply for
correlation. Read moreSource§fn publish_status(&mut self, event: &DevStatusEvent) -> Result<(), String>
fn publish_status(&mut self, event: &DevStatusEvent) -> Result<(), String>
Publishes one S2 status event. Read more
Auto Trait Implementations§
impl<S> !Freeze for DevManagementConversation<S>
impl<S> !RefUnwindSafe for DevManagementConversation<S>
impl<S> !UnwindSafe for DevManagementConversation<S>
impl<S> Send for DevManagementConversation<S>
impl<S> Sync for DevManagementConversation<S>
impl<S> Unpin for DevManagementConversation<S>where
S: Unpin,
impl<S> UnsafeUnpin for DevManagementConversation<S>where
S: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request