Struct diem_data_client::ResponseContext [−][src]
pub struct ResponseContext {
pub id: ResponseId,
pub response_callback: Box<dyn ResponseCallback>,
}Fields
id: ResponseIdA unique identifier for this request/response pair. Intended mostly for debugging.
response_callback: Box<dyn ResponseCallback>A callback for notifying the data-client source about an error with this response.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ResponseContext
impl Send for ResponseContext
impl !Sync for ResponseContext
impl Unpin for ResponseContext
impl !UnwindSafe for ResponseContext
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self