Struct SessionAsync

Source
pub struct SessionAsync {
    pub socket_pool: HGTPPool,
}
Expand description

Asynchronous AvesTerra client

This is not the recommended client to use. Unless you want to use you own asynchronous context, you should use crate::Session instead. The crate::Session client is easier to use, and also provide the ability to execute asynchronous code.

You need to create the SessionAsync with SessionAsync::initialize

Fields§

§socket_pool: HGTPPool

Implementations§

Source§

impl SessionAsync

Source

pub async fn initialize(config: SessionConfig) -> Result<Self>

Source

pub async fn finalize(&self)

Cleanly closes all connections. This method will wait for all currently used connections to be returned to the pool. This might take a while depending on how long is the queue of calls waiting for a connection. In an ideal world this would have been implemented better and the queue of pending calls would have been cancelled, but it’s not the case, sorry.

Source§

impl SessionAsync

Source

pub fn invoke_entity( &self, entity: Entity, method: Method, authorization: Token, ) -> InvokeEntity<Self>

Source§

impl SessionAsync

Source

pub fn create_entity( &self, name: String255, authorization: Token, ) -> CreateEntity<Self>

Source§

impl SessionAsync

Source

pub fn delete_entity( &self, entity: Entity, authorization: Token, ) -> DeleteEntity<Self>

Source§

impl SessionAsync

Source

pub fn inquire_entity( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> InquireEntity<Self>

Source§

impl SessionAsync

Source

pub fn reference_entity( &self, entity: Entity, authorization: Token, ) -> ReferenceEntity<Self>

Source§

impl SessionAsync

Source

pub fn dereference_entity( &self, entity: Entity, authorization: Token, ) -> DereferenceEntity<Self>

Source§

impl SessionAsync

Source

pub fn connect_method( &self, entity: Entity, outlet: Entity, authorization: Token, ) -> ConnectMethod<Self>

Source§

impl SessionAsync

Source

pub fn disconnect_method( &self, entity: Entity, outlet: Entity, method: Method, authorization: Token, ) -> DisconnectMethod<Self>

Source§

impl SessionAsync

Source

pub fn entity_connection( &self, entity: Entity, index: i64, authorization: Token, ) -> EntityConnection<Self>

Source§

impl SessionAsync

Source

pub fn attach_attribute( &self, entity: Entity, outlet: Entity, authorization: Token, ) -> AttachAttribute<Self>

Source§

impl SessionAsync

Source

pub fn detach_attribute( &self, entity: Entity, outlet: Entity, attribute: Attribute, authorization: Token, ) -> DetachAttribute<Self>

Source§

impl SessionAsync

Source

pub fn entity_attachment( &self, entity: Entity, index: i64, authorization: Token, ) -> EntityAttachment<Self>

Source§

impl SessionAsync

Source

pub fn activate_outlet( &self, outlet: Entity, authorization: Token, ) -> ActivateOutlet<Self>

Source§

impl SessionAsync

Source

pub fn deactivate_outlet( &self, outlet: Entity, authorization: Token, ) -> DeactivateOutlet<Self>

Source§

impl SessionAsync

Source

pub fn reset_outlet( &self, outlet: Entity, authorization: Token, ) -> ResetOutlet<Self>

Source§

impl SessionAsync

Source

pub fn publish_event( &self, entity: Entity, event: Event, authorization: Token, ) -> PublishEvent<Self>

Source§

impl SessionAsync

Source

pub fn subscribe_event( &self, entity: Entity, outlet: Entity, authorization: Token, ) -> SubscribeEvent<Self>

Source§

impl SessionAsync

Source

pub fn unsubscribe_event( &self, entity: Entity, outlet: Entity, event: Event, authorization: Token, ) -> UnsubscribeEvent<Self>

Source§

impl SessionAsync

Source

pub fn wait_event( &self, outlet: Entity, authorization: Token, ) -> WaitEvent<Self>

Source§

impl SessionAsync

Source

pub fn subscribe_entity( &self, entity: Entity, outlet: Entity, event: Event, authorization: Token, ) -> SubscribeEntity<Self>

Source§

impl SessionAsync

Source

pub fn lock_outlet( &self, outlet: Entity, authorization: Token, ) -> LockOutlet<Self>

Source§

impl SessionAsync

Source

pub fn unlock_outlet( &self, outlet: Entity, authorization: Token, ) -> UnlockOutlet<Self>

Source§

impl SessionAsync

Source

pub fn authorize_entity( &self, entity: Entity, authority: Token, authorization: Token, ) -> AuthorizeEntity<Self>

Source§

impl SessionAsync

Source

pub fn deauthorize_entity( &self, entity: Entity, authority: Token, authorization: Token, ) -> DeauthorizeEntity<Self>

Source§

impl SessionAsync

Source

pub fn entity_authorized( &self, entity: Entity, authority: Token, authorization: Token, ) -> EntityAuthorized<Self>

Source§

impl SessionAsync

Source

pub fn entity_authority( &self, entity: Entity, authorization: Token, ) -> EntityAuthority<Self>

Source§

impl SessionAsync

Source

pub fn entity_name( &self, entity: Entity, authorization: Token, ) -> EntityName<Self>

Source§

impl SessionAsync

Source

pub fn entity_class( &self, entity: Entity, authorization: Token, ) -> EntityClass<Self>

Source§

impl SessionAsync

Source

pub fn entity_category( &self, entity: Entity, authorization: Token, ) -> EntityCategory<Self>

Source§

impl SessionAsync

Source

pub fn local_server(&self, authorization: Token) -> LocalServer<Self>

Source§

impl SessionAsync

Source

pub fn local_version(&self) -> LocalVersion<Self>

Source§

impl SessionAsync

Source

pub fn entity_redirection( &self, entity: Entity, authorization: Token, ) -> EntityRedirection<Self>

Source§

impl SessionAsync

Source

pub fn entity_redirect( &self, auxiliary: Entity, ancillary: Entity, authorization: Token, ) -> EntityRedirect<Self>

Source§

impl SessionAsync

Source

pub fn change_entity( &self, entity: Entity, authorization: Token, ) -> ChangeEntity<Self>

Source§

impl SessionAsync

Source

pub fn entity_timestamp( &self, entity: Entity, authorization: Token, ) -> EntityTimestamp<Self>

Source§

impl SessionAsync

Source

pub fn entity_available( &self, entity: Entity, authorization: Token, ) -> EntityAvailable<Self>

Source§

impl SessionAsync

Source

pub fn entity_extinct( &self, entity: Entity, authorization: Token, ) -> EntityExtinct<Self>

Source§

impl SessionAsync

Source

pub fn entity_activated( &self, entity: Entity, authorization: Token, ) -> EntityActivated<Self>

Source§

impl SessionAsync

Source

pub fn entity_locked( &self, entity: Entity, authorization: Token, ) -> EntityLocked<Self>

Source§

impl SessionAsync

Source

pub fn pending(&self, entity: Entity, authorization: Token) -> Pending<Self>

Source§

impl SessionAsync

Source

pub fn entity_rendezvous( &self, entity: Entity, authorization: Token, ) -> EntityRendezvous<Self>

Source§

impl SessionAsync

Source

pub fn entity_references( &self, entity: Entity, authorization: Token, ) -> EntityReferences<Self>

Source§

impl SessionAsync

Source

pub fn connection_count( &self, entity: Entity, authorization: Token, ) -> ConnectionCount<Self>

Source§

impl SessionAsync

Source

pub fn attachment_count( &self, entity: Entity, authorization: Token, ) -> AttachmentCount<Self>

Source§

impl SessionAsync

Source

pub fn subscription_count( &self, entity: Entity, authorization: Token, ) -> SubscriptionCount<Self>

Source§

impl SessionAsync

Source

pub fn entity_authorizations( &self, entity: Entity, authorization: Token, ) -> EntityAuthorizations<Self>

Source§

impl SessionAsync

Source

pub fn fetch_entity( &self, entity: Entity, authorization: Token, ) -> FetchEntity<Self>

Source§

impl SessionAsync

Source

pub fn insert_element( &self, entity: Entity, value: &Value, index: i64, authorization: Token, ) -> InsertElement<Self>

Source§

impl SessionAsync

Source

pub fn remove_element( &self, entity: Entity, index: i64, authorization: Token, ) -> RemoveElement<Self>

Source§

impl SessionAsync

Source

pub fn replace_element( &self, entity: Entity, value: &Value, index: i64, authorization: Token, ) -> ReplaceElement<Self>

Source§

impl SessionAsync

Source

pub fn erase_element( &self, entity: Entity, authorization: Token, ) -> EraseElement<Self>

Source§

impl SessionAsync

Source

pub fn find_element( &self, entity: Entity, value: &Value, index: i64, authorization: Token, ) -> FindElement<Self>

Source§

impl SessionAsync

Source

pub fn entity_element( &self, entity: Entity, authorization: Token, ) -> EntityElement<Self>

Source§

impl SessionAsync

Source

pub fn element_count( &self, entity: Entity, authorization: Token, ) -> ElementCount<Self>

Source§

impl SessionAsync

Source

pub fn adapt_outlet( &self, outlet: Entity, authorization: Token, callback: <AdaptOutlet<SessionAsync> as AdaptOutletTrait>::CallbackType, ) -> AdaptOutlet<SessionAsync>

Example:

use orchestra_toolkit::*;

async fn callback(s: SessionAsync, args: AdapterArgs) -> Result<Value, AvesterraError> {
    println!("Adapting {:?}", args);
    Ok(Value::NULL)
}

let outlet = Entity::new(0, 0, 4200);
let auth = Token::NULL;
let session = Session::initialize(SessionConfig::default()).unwrap();
session.run_async(|s1| async {
    let s2 = s1.clone();
    s1.
      adapt_outlet(
          outlet,
          auth,
          Box::new(|args: AdapterArgs| Box::pin(callback(s2, args))),
    )
});
Source§

impl SessionAsync

Source

pub fn insert_annotation( &self, entity: Entity, key: String255, index: i64, attribute: Attribute, value: Value, authorization: Token, ) -> InsertAnnotation<Self>

Source§

impl SessionAsync

Source

pub fn remove_annotation( &self, entity: Entity, key: String255, authorization: Token, ) -> RemoveAnnotation<Self>

Source§

impl SessionAsync

Source

pub fn replace_annotation( &self, entity: Entity, key: String255, attribute: Attribute, value: Value, authorization: Token, ) -> ReplaceAnnotation<Self>

Source§

impl SessionAsync

Source

pub fn find_annotation( &self, entity: Entity, key: String255, value: Value, authorization: Token, ) -> FindAnnotation<Self>

Source§

impl SessionAsync

Source

pub fn include_annotation( &self, entity: Entity, key: String255, attribute: Attribute, value: Value, authorization: Token, ) -> IncludeAnnotation<Self>

Source§

impl SessionAsync

Source

pub fn exclude_annotation( &self, entity: Entity, key: String255, attribute: Attribute, authorization: Token, ) -> ExcludeAnnotation<Self>

Source§

impl SessionAsync

Source

pub fn set_annotation( &self, entity: Entity, key: String255, attribute: Attribute, value: Value, authorization: Token, ) -> SetAnnotation<Self>

Source§

impl SessionAsync

Source

pub fn get_annotation( &self, entity: Entity, key: String255, attribute: Attribute, authorization: Token, ) -> GetAnnotation<Self>

Source§

impl SessionAsync

Source

pub fn clear_annotation( &self, entity: Entity, key: String255, attribute: Attribute, authorization: Token, ) -> ClearAnnotation<Self>

Source§

impl SessionAsync

Source

pub fn annotation_count( &self, entity: Entity, key: String255, authorization: Token, ) -> AnnotationCount<Self>

Source§

impl SessionAsync

Source

pub fn annotation_member( &self, entity: Entity, key: String255, attribute: Attribute, authorization: Token, ) -> AnnotationMember<Self>

Source§

impl SessionAsync

Source

pub fn annotation_name( &self, entity: Entity, key: String255, attribute: Attribute, authorization: Token, ) -> AnnotationName<Self>

Source§

impl SessionAsync

Source

pub fn annotation_key( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> AnnotationKey<Self>

Source§

impl SessionAsync

Source

pub fn annotation_value( &self, entity: Entity, key: String255, attribute: Attribute, authorization: Token, ) -> AnnotationValue<Self>

Source§

impl SessionAsync

Source

pub fn annotation_index( &self, entity: Entity, key: String255, attribute: Attribute, authorization: Token, ) -> AnnotationIndex<Self>

Source§

impl SessionAsync

Source

pub fn annotation_attribute( &self, entity: Entity, key: String255, instance: i32, authorization: Token, ) -> AnnotationAttribute<Self>

Source§

impl SessionAsync

Source

pub fn purge_annotations( &self, entity: Entity, key: String255, authorization: Token, ) -> PurgeAnnotations<Self>

Source§

impl SessionAsync

Source

pub fn sort_annotations( &self, entity: Entity, key: String255, authorization: Token, ) -> SortAnnotations<Self>

Source§

impl SessionAsync

Source

pub fn retrieve_annotations( &self, entity: Entity, key: String255, authorization: Token, ) -> RetrieveAnnotations<Self>

Source§

impl SessionAsync

Source

pub fn insert_facet( &self, entity: Entity, attribute: Attribute, name: String255, value: Value, authorization: Token, ) -> InsertFacet<Self>

Source§

impl SessionAsync

Source

pub fn remove_facet( &self, entity: Entity, attribute: Attribute, index: i64, authorization: Token, ) -> RemoveFacet<Self>

Source§

impl SessionAsync

Source

pub fn replace_facet( &self, entity: Entity, attribute: Attribute, name: String255, value: Value, authorization: Token, ) -> ReplaceFacet<Self>

Source§

impl SessionAsync

Source

pub fn find_facet( &self, entity: Entity, attribute: Attribute, value: Value, authorization: Token, ) -> FindFacet<Self>

Source§

impl SessionAsync

Source

pub fn include_facet( &self, entity: Entity, attribute: Attribute, name: String255, value: Value, authorization: Token, ) -> IncludeFacet<Self>

Source§

impl SessionAsync

Source

pub fn exclude_facet( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> ExcludeFacet<Self>

Source§

impl SessionAsync

Source

pub fn set_facet( &self, entity: Entity, attribute: Attribute, name: String255, value: Value, authorization: Token, ) -> SetFacet<Self>

Source§

impl SessionAsync

Source

pub fn get_facet( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> GetFacet<Self>

Source§

impl SessionAsync

Source

pub fn clear_facet( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> ClearFacet<Self>

Source§

impl SessionAsync

Source

pub fn facet_count( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> FacetCount<Self>

Source§

impl SessionAsync

Source

pub fn facet_member( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> FacetMember<Self>

Source§

impl SessionAsync

Source

pub fn facet_name( &self, entity: Entity, attribute: Attribute, index: i64, authorization: Token, ) -> FacetName<Self>

Source§

impl SessionAsync

Source

pub fn facet_key( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> FacetKey<Self>

Source§

impl SessionAsync

Source

pub fn facet_value( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> FacetValue<Self>

Source§

impl SessionAsync

Source

pub fn facet_index( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> FacetIndex<Self>

Source§

impl SessionAsync

Source

pub fn facet_attribute( &self, entity: Entity, authorization: Token, ) -> FacetAttribute<Self>

Source§

impl SessionAsync

Source

pub fn sort_facets( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> SortFacets<Self>

Source§

impl SessionAsync

Source

pub fn purge_facets( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> PurgeFacets<Self>

Source§

impl SessionAsync

Source

pub fn retrieve_facets( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> RetrieveFacets<Self>

Source§

impl SessionAsync

Source

pub fn insert_factor( &self, entity: Entity, attribute: Attribute, name: String255, key: String255, value: Value, authorization: Token, ) -> InsertFactor<Self>

Source§

impl SessionAsync

Source

pub fn remove_factor( &self, entity: Entity, attribute: Attribute, name: String255, index: i64, authorization: Token, ) -> RemoveFactor<Self>

Source§

impl SessionAsync

Source

pub fn replace_factor( &self, entity: Entity, attribute: Attribute, name: String255, key: String255, value: Value, authorization: Token, ) -> ReplaceFactor<Self>

Source§

impl SessionAsync

Source

pub fn find_factor( &self, entity: Entity, attribute: Attribute, name: String255, value: Value, authorization: Token, ) -> FindFactor<Self>

Source§

impl SessionAsync

Source

pub fn include_factor( &self, entity: Entity, attribute: Attribute, name: String255, key: String255, value: Value, authorization: Token, ) -> IncludeFactor<Self>

Source§

impl SessionAsync

Source

pub fn exclude_factor( &self, entity: Entity, attribute: Attribute, name: String255, key: String255, authorization: Token, ) -> ExcludeFactor<Self>

Source§

impl SessionAsync

Source

pub fn set_factor( &self, entity: Entity, attribute: Attribute, name: String255, key: String255, value: Value, authorization: Token, ) -> SetFactor<Self>

Source§

impl SessionAsync

Source

pub fn get_factor( &self, entity: Entity, attribute: Attribute, name: String255, key: String255, authorization: Token, ) -> GetFactor<Self>

Source§

impl SessionAsync

Source

pub fn clear_factor( &self, entity: Entity, attribute: Attribute, name: String255, key: String255, authorization: Token, ) -> ClearFactor<Self>

Source§

impl SessionAsync

Source

pub fn factor_count( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> FactorCount<Self>

Source§

impl SessionAsync

Source

pub fn factor_member( &self, entity: Entity, attribute: Attribute, name: String255, key: String255, authorization: Token, ) -> FactorMember<Self>

Source§

impl SessionAsync

Source

pub fn factor_name( &self, entity: Entity, authorization: Token, ) -> FactorName<Self>

Source§

impl SessionAsync

Source

pub fn factor_key( &self, entity: Entity, attribute: Attribute, name: String255, index: i64, authorization: Token, ) -> FactorKey<Self>

Source§

impl SessionAsync

Source

pub fn factor_value( &self, entity: Entity, attribute: Attribute, name: String255, key: String255, authorization: Token, ) -> FactorValue<Self>

Source§

impl SessionAsync

Source

pub fn factor_index( &self, entity: Entity, attribute: Attribute, name: String255, key: String255, authorization: Token, ) -> FactorIndex<Self>

Source§

impl SessionAsync

Source

pub fn factor_attribute( &self, entity: Entity, authorization: Token, ) -> FactorAttribute<Self>

Source§

impl SessionAsync

Source

pub fn sort_factors( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> SortFactors<Self>

Source§

impl SessionAsync

Source

pub fn purge_factors( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> PurgeFactors<Self>

Source§

impl SessionAsync

Source

pub fn retrieve_factors( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> RetrieveFactors<Self>

Source§

impl SessionAsync

Source

pub fn insert_fact( &self, entity: Entity, attribute: Attribute, value: Value, authorization: Token, ) -> InsertFact<Self>

Source§

impl SessionAsync

Source

pub fn remove_fact( &self, entity: Entity, index: i64, authorization: Token, ) -> RemoveFact<Self>

Source§

impl SessionAsync

Source

pub fn replace_fact( &self, entity: Entity, index: i64, attribute: Attribute, value: Value, authorization: Token, ) -> ReplaceFact<Self>

Source§

impl SessionAsync

Source

pub fn find_fact( &self, entity: Entity, value: Value, authorization: Token, ) -> FindFact<Self>

Source§

impl SessionAsync

Source

pub fn include_fact( &self, entity: Entity, attribute: Attribute, value: Value, authorization: Token, ) -> IncludeFact<Self>

Source§

impl SessionAsync

Source

pub fn exclude_fact( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> ExcludeFact<Self>

Source§

impl SessionAsync

Source

pub fn set_fact( &self, entity: Entity, attribute: Attribute, value: Value, authorization: Token, ) -> SetFact<Self>

Source§

impl SessionAsync

Source

pub fn get_fact( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> GetFact<Self>

Source§

impl SessionAsync

Source

pub fn clear_fact( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> ClearFact<Self>

Source§

impl SessionAsync

Source

pub fn fact_count( &self, entity: Entity, authorization: Token, ) -> FactCount<Self>

Source§

impl SessionAsync

Source

pub fn fact_member( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> FactMember<Self>

Source§

impl SessionAsync

Source

pub fn fact_name( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> FactName<Self>

Source§

impl SessionAsync

Source

pub fn fact_key( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> FactKey<Self>

Source§

impl SessionAsync

Source

pub fn fact_value( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> FactValue<Self>

Source§

impl SessionAsync

Source

pub fn fact_index( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> FactIndex<Self>

Source§

impl SessionAsync

Source

pub fn fact_attribute( &self, entity: Entity, index: i64, authorization: Token, ) -> FactAttribute<Self>

Source§

impl SessionAsync

Source

pub fn sort_facts( &self, entity: Entity, authorization: Token, ) -> SortFacts<Self>

Source§

impl SessionAsync

Source

pub fn purge_facts( &self, entity: Entity, authorization: Token, ) -> PurgeFacts<Self>

Source§

impl SessionAsync

Source

pub fn retrieve_facts( &self, entity: Entity, authorization: Token, ) -> RetrieveFacts<Self>

Source§

impl SessionAsync

Source

pub fn insert_feature( &self, entity: Entity, attribute: Attribute, key: String255, name: String255, value: Value, authorization: Token, ) -> InsertFeature<Self>

Source§

impl SessionAsync

Source

pub fn remove_feature( &self, entity: Entity, attribute: Attribute, index: i64, authorization: Token, ) -> RemoveFeature<Self>

Source§

impl SessionAsync

Source

pub fn replace_feature( &self, entity: Entity, attribute: Attribute, key: String255, name: String255, value: Value, authorization: Token, ) -> ReplaceFeature<Self>

Source§

impl SessionAsync

Source

pub fn find_feature( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> FindFeature<Self>

Source§

impl SessionAsync

Source

pub fn include_feature( &self, entity: Entity, attribute: Attribute, key: String255, name: String255, value: Value, authorization: Token, ) -> IncludeFeature<Self>

Source§

impl SessionAsync

Source

pub fn exclude_feature( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> ExcludeFeature<Self>

Source§

impl SessionAsync

Source

pub fn set_feature( &self, entity: Entity, attribute: Attribute, key: String255, name: String255, value: Value, authorization: Token, ) -> SetFeature<Self>

Source§

impl SessionAsync

Source

pub fn get_feature( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> GetFeature<Self>

Source§

impl SessionAsync

Source

pub fn clear_feature( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> ClearFeature<Self>

Source§

impl SessionAsync

Source

pub fn feature_count( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> FeatureCount<Self>

Source§

impl SessionAsync

Source

pub fn feature_member( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> FeatureMember<Self>

Source§

impl SessionAsync

Source

pub fn feature_name( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> FeatureName<Self>

Source§

impl SessionAsync

Source

pub fn feature_key( &self, entity: Entity, attribute: Attribute, index: i64, authorization: Token, ) -> FeatureKey<Self>

Source§

impl SessionAsync

Source

pub fn feature_value( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> FeatureValue<Self>

Source§

impl SessionAsync

Source

pub fn feature_index( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> FeatureIndex<Self>

Source§

impl SessionAsync

Source

pub fn feature_attribute( &self, entity: Entity, authorization: Token, ) -> FeatureAttribute<Self>

Source§

impl SessionAsync

Source

pub fn sort_features( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> SortFeatures<Self>

Source§

impl SessionAsync

Source

pub fn purge_features( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> PurgeFeatures<Self>

Source§

impl SessionAsync

Source

pub fn retrieve_features( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> RetrieveFeatures<Self>

Source§

impl SessionAsync

Source

pub fn insert_field( &self, entity: Entity, attribute: Attribute, name: String255, value: Value, authorization: Token, ) -> InsertField<Self>

Source§

impl SessionAsync

Source

pub fn remove_field( &self, entity: Entity, attribute: Attribute, index: i64, authorization: Token, ) -> RemoveField<Self>

Source§

impl SessionAsync

Source

pub fn replace_field( &self, entity: Entity, attribute: Attribute, name: String255, value: Value, authorization: Token, ) -> ReplaceField<Self>

Source§

impl SessionAsync

Source

pub fn find_field( &self, entity: Entity, attribute: Attribute, value: Value, authorization: Token, ) -> FindField<Self>

Source§

impl SessionAsync

Source

pub fn include_field( &self, entity: Entity, attribute: Attribute, name: String255, value: Value, authorization: Token, ) -> IncludeField<Self>

Source§

impl SessionAsync

Source

pub fn exclude_field( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> ExcludeField<Self>

Source§

impl SessionAsync

Source

pub fn set_field( &self, entity: Entity, attribute: Attribute, name: String255, value: Value, authorization: Token, ) -> SetField<Self>

Source§

impl SessionAsync

Source

pub fn get_field( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> GetField<Self>

Source§

impl SessionAsync

Source

pub fn clear_field( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> ClearField<Self>

Source§

impl SessionAsync

Source

pub fn field_count( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> FieldCount<Self>

Source§

impl SessionAsync

Source

pub fn field_member( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> FieldMember<Self>

Source§

impl SessionAsync

Source

pub fn field_name( &self, entity: Entity, attribute: Attribute, index: i64, authorization: Token, ) -> FieldName<Self>

Source§

impl SessionAsync

Source

pub fn field_key( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> FieldKey<Self>

Source§

impl SessionAsync

Source

pub fn field_value( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> FieldValue<Self>

Source§

impl SessionAsync

Source

pub fn field_index( &self, entity: Entity, attribute: Attribute, name: String255, authorization: Token, ) -> FieldIndex<Self>

Source§

impl SessionAsync

Source

pub fn field_attribute( &self, entity: Entity, authorization: Token, ) -> FieldAttribute<Self>

Source§

impl SessionAsync

Source

pub fn sort_fields( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> SortFields<Self>

Source§

impl SessionAsync

Source

pub fn purge_fields( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> PurgeFields<Self>

Source§

impl SessionAsync

Source

pub fn retrieve_fields( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> RetrieveFields<Self>

Source§

impl SessionAsync

Source

pub fn insert_frame( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> InsertFrame<Self>

Source§

impl SessionAsync

Source

pub fn remove_frame( &self, entity: Entity, attribute: Attribute, index: i64, authorization: Token, ) -> RemoveFrame<Self>

Source§

impl SessionAsync

Source

pub fn replace_frame( &self, entity: Entity, attribute: Attribute, index: i64, key: String255, authorization: Token, ) -> ReplaceFrame<Self>

Source§

impl SessionAsync

Source

pub fn find_frame( &self, entity: Entity, authorization: Token, ) -> FindFrame<Self>

Source§

impl SessionAsync

Source

pub fn include_frame( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> IncludeFrame<Self>

Source§

impl SessionAsync

Source

pub fn exclude_frame( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> ExcludeFrame<Self>

Source§

impl SessionAsync

Source

pub fn set_frame( &self, entity: Entity, attribute: Attribute, key: String255, name: String255, value: Value, authorization: Token, ) -> SetFrame<Self>

Source§

impl SessionAsync

Source

pub fn get_frame( &self, entity: Entity, attribute: Attribute, key: String255, name: String255, authorization: Token, ) -> GetFrame<Self>

Source§

impl SessionAsync

Source

pub fn clear_frame( &self, entity: Entity, attribute: Attribute, key: String255, name: String255, authorization: Token, ) -> ClearFrame<Self>

Source§

impl SessionAsync

Source

pub fn frame_count( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> FrameCount<Self>

Source§

impl SessionAsync

Source

pub fn frame_member( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> FrameMember<Self>

Source§

impl SessionAsync

Source

pub fn frame_name( &self, entity: Entity, attribute: Attribute, offset: i32, authorization: Token, ) -> FrameName<Self>

Source§

impl SessionAsync

Source

pub fn frame_key( &self, entity: Entity, attribute: Attribute, index: i64, authorization: Token, ) -> FrameKey<Self>

Source§

impl SessionAsync

Source

pub fn frame_value( &self, entity: Entity, attribute: Attribute, key: String255, name: String255, authorization: Token, ) -> FrameValue<Self>

Source§

impl SessionAsync

Source

pub fn frame_index( &self, entity: Entity, attribute: Attribute, key: String255, authorization: Token, ) -> FrameIndex<Self>

Source§

impl SessionAsync

Source

pub fn frame_attribute( &self, entity: Entity, authorization: Token, ) -> FrameAttribute<Self>

Source§

impl SessionAsync

Source

pub fn sort_frames( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> SortFrames<Self>

Source§

impl SessionAsync

Source

pub fn purge_frames( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> PurgeFrames<Self>

Source§

impl SessionAsync

Source

pub fn retrieve_frames( &self, entity: Entity, attribute: Attribute, authorization: Token, ) -> RetrieveFrames<Self>

Source§

impl SessionAsync

Source

pub fn insert_property( &self, entity: Entity, key: String255, name: String255, value: Value, authorization: Token, ) -> InsertProperty<Self>

Source§

impl SessionAsync

Source

pub fn remove_property( &self, entity: Entity, index: i64, authorization: Token, ) -> RemoveProperty<Self>

Source§

impl SessionAsync

Source

pub fn replace_property( &self, entity: Entity, index: i64, key: String255, name: String255, value: Value, authorization: Token, ) -> ReplaceProperty<Self>

Source§

impl SessionAsync

Source

pub fn find_property( &self, entity: Entity, name: String255, value: Value, authorization: Token, ) -> FindProperty<Self>

Source§

impl SessionAsync

Source

pub fn include_property( &self, entity: Entity, key: String255, name: String255, value: Value, authorization: Token, ) -> IncludeProperty<Self>

Source§

impl SessionAsync

Source

pub fn exclude_property( &self, entity: Entity, key: String255, authorization: Token, ) -> ExcludeProperty<Self>

Source§

impl SessionAsync

Source

pub fn set_property( &self, entity: Entity, key: String255, name: String255, value: Value, authorization: Token, ) -> SetProperty<Self>

Source§

impl SessionAsync

Source

pub fn get_property( &self, entity: Entity, key: String255, authorization: Token, ) -> GetProperty<Self>

Source§

impl SessionAsync

Source

pub fn clear_property( &self, entity: Entity, key: String255, authorization: Token, ) -> ClearProperty<Self>

Source§

impl SessionAsync

Source

pub fn property_count( &self, entity: Entity, authorization: Token, ) -> PropertyCount<Self>

Source§

impl SessionAsync

Source

pub fn property_member( &self, entity: Entity, key: String255, authorization: Token, ) -> PropertyMember<Self>

Source§

impl SessionAsync

Source

pub fn property_name( &self, entity: Entity, key: String255, authorization: Token, ) -> PropertyName<Self>

Source§

impl SessionAsync

Source

pub fn property_key( &self, entity: Entity, index: i64, authorization: Token, ) -> PropertyKey<Self>

Source§

impl SessionAsync

Source

pub fn property_value( &self, entity: Entity, key: String255, authorization: Token, ) -> PropertyValue<Self>

Source§

impl SessionAsync

Source

pub fn property_index( &self, entity: Entity, key: String255, authorization: Token, ) -> PropertyIndex<Self>

Source§

impl SessionAsync

Source

pub fn property_attribute( &self, entity: Entity, authorization: Token, ) -> PropertyAttribute<Self>

Source§

impl SessionAsync

Source

pub fn sort_properties( &self, entity: Entity, authorization: Token, ) -> SortProperties<Self>

Source§

impl SessionAsync

Source

pub fn purge_properties( &self, entity: Entity, authorization: Token, ) -> PurgeProperties<Self>

Source§

impl SessionAsync

Source

pub fn retrieve_properties( &self, entity: Entity, authorization: Token, ) -> RetrieveProperties<Self>

Source§

impl SessionAsync

Source

pub fn create_registry( &self, name: String255, authorization: Token, ) -> CreateRegistry<Self>

Source§

impl SessionAsync

Source

pub fn delete_registry( &self, registry: Entity, authorization: Token, ) -> DeleteRegistry<Self>

Source§

impl SessionAsync

Source

pub fn register_entity( &self, registry: Entity, key: String255, name: String255, entity: Entity, authorization: Token, ) -> RegisterEntity<Self>

Source§

impl SessionAsync

Source

pub fn deregister_entity( &self, registry: Entity, key: String255, authorization: Token, ) -> DeregisterEntity<Self>

Source§

impl SessionAsync

Source

pub fn purge_registry( &self, registry: Entity, authorization: Token, ) -> PurgeRegistry<Self>

Source§

impl SessionAsync

Source

pub fn sort_registry( &self, registry: Entity, authorization: Token, ) -> SortRegistry<Self>

Source§

impl SessionAsync

Source

pub fn lookup_registry( &self, registry: Entity, key: String255, authorization: Token, ) -> LookupRegistry<Self>

Source§

impl SessionAsync

Source

pub fn registry_member( &self, registry: Entity, key: String255, authorization: Token, ) -> RegistryMember<Self>

Source§

impl SessionAsync

Source

pub fn registry_item( &self, registry: Entity, index: i64, authorization: Token, ) -> RegistryItem<Self>

Source§

impl SessionAsync

Source

pub fn registry_count( &self, registry: Entity, authorization: Token, ) -> RegistryCount<Self>

Source§

impl SessionAsync

Source

pub fn retrieve_registry( &self, registry: Entity, authorization: Token, ) -> RetrieveRegistry<Self>

Source§

impl SessionAsync

Source

pub fn save_entity( &self, entity: Entity, authorization: Token, ) -> SaveEntity<Self>

Source§

impl SessionAsync

Source

pub fn restore_entity( &self, entity: Entity, authorization: Token, ) -> RestoreEntity<Self>

Source§

impl SessionAsync

Source

pub fn retrieve_entity( &self, entity: Entity, authorization: Token, ) -> RetrieveEntity<Self>

Source§

impl SessionAsync

Source

pub fn store_entity( &self, entity: Entity, model: AvialModel, authorization: Token, ) -> StoreEntity<Self>

Source§

impl SessionAsync

Source

pub fn purge_entity( &self, entity: Entity, authorization: Token, ) -> PurgeEntity<Self>

Source§

impl SessionAsync

Source

pub fn redirect( &self, from: Entity, to: Entity, authorization: Token, ) -> Redirect<Self>

Source§

impl SessionAsync

Source

pub fn create_outlet( &self, name: String255, authorization: Token, ) -> CreateOutlet<Self>

Source§

impl SessionAsync

Source

pub fn create_object( &self, name: String255, authorization: Token, ) -> CreateObject<Self>

Source§

impl SessionAsync

Source

pub fn delete_object( &self, object: Entity, authorization: Token, ) -> DeleteObject<Self>

Source§

impl SessionAsync

Source

pub fn create_general( &self, name: String255, authorization: Token, ) -> CreateGeneral<Self>

Source§

impl SessionAsync

Source

pub fn delete_general( &self, general: Entity, authorization: Token, ) -> DeleteGeneral<Self>

Source§

impl SessionAsync

Source

pub fn invoke_locutor(&self, locutor: Locutor) -> InvokeLocutor<Self>

Source§

impl SessionAsync

Source

pub fn raw_message(&self, msg: HGTPMessage) -> RawMessage<Self>

Trait Implementations§

Source§

impl Clone for SessionAsync

Source§

fn clone(&self) -> SessionAsync

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl SessionTrait for SessionAsync

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V