pub struct HttpState {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<DaggerSessionProc>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
Source§impl HttpState
impl HttpState
Sourcepub async fn id(&self) -> Result<HttpStateId, DaggerError>
pub async fn id(&self) -> Result<HttpStateId, DaggerError>
A unique identifier for this HTTPState.
Trait Implementations§
Source§impl IntoID<HttpStateId> for HttpState
impl IntoID<HttpStateId> for HttpState
fn into_id( self, ) -> Pin<Box<dyn Future<Output = Result<HttpStateId, DaggerError>> + Send>>
Auto Trait Implementations§
impl Freeze for HttpState
impl !RefUnwindSafe for HttpState
impl Send for HttpState
impl Sync for HttpState
impl Unpin for HttpState
impl UnsafeUnpin for HttpState
impl !UnwindSafe for HttpState
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