pub struct AppMethods<'a, S>
where S: 'a,
{ /* private fields */ }
Expand description

A builder providing access to all methods supported on app resources. It is not used directly, but through the Appengine hub.

§Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate google_appengine1 as appengine1;
 
use std::default::Default;
use appengine1::{Appengine, oauth2, hyper, hyper_rustls, chrono, FieldMask};
 
let secret: oauth2::ApplicationSecret = Default::default();
let auth = oauth2::InstalledFlowAuthenticator::builder(
        secret,
        oauth2::InstalledFlowReturnMethod::HTTPRedirect,
    ).build().await.unwrap();
let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `authorized_certificates_create(...)`, `authorized_certificates_delete(...)`, `authorized_certificates_get(...)`, `authorized_certificates_list(...)`, `authorized_certificates_patch(...)`, `authorized_domains_list(...)`, `create(...)`, `domain_mappings_create(...)`, `domain_mappings_delete(...)`, `domain_mappings_get(...)`, `domain_mappings_list(...)`, `domain_mappings_patch(...)`, `firewall_ingress_rules_batch_update(...)`, `firewall_ingress_rules_create(...)`, `firewall_ingress_rules_delete(...)`, `firewall_ingress_rules_get(...)`, `firewall_ingress_rules_list(...)`, `firewall_ingress_rules_patch(...)`, `get(...)`, `list_runtimes(...)`, `locations_get(...)`, `locations_list(...)`, `operations_get(...)`, `operations_list(...)`, `patch(...)`, `repair(...)`, `services_delete(...)`, `services_get(...)`, `services_list(...)`, `services_patch(...)`, `services_versions_create(...)`, `services_versions_delete(...)`, `services_versions_get(...)`, `services_versions_instances_debug(...)`, `services_versions_instances_delete(...)`, `services_versions_instances_get(...)`, `services_versions_instances_list(...)`, `services_versions_list(...)` and `services_versions_patch(...)`
// to build up your call.
let rb = hub.apps();

Implementations§

source§

impl<'a, S> AppMethods<'a, S>

source

pub fn authorized_certificates_create( &self, request: AuthorizedCertificate, apps_id: &str ) -> AppAuthorizedCertificateCreateCall<'a, S>

Create a builder to help you perform the following task:

Uploads the specified SSL certificate.

§Arguments
  • request - No description provided.
  • appsId - Part of parent. Name of the parent Application resource. Example: apps/myapp.
source

pub fn authorized_certificates_delete( &self, apps_id: &str, authorized_certificates_id: &str ) -> AppAuthorizedCertificateDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified SSL certificate.

§Arguments
  • appsId - Part of name. Name of the resource to delete. Example: apps/myapp/authorizedCertificates/12345.
  • authorizedCertificatesId - Part of name. See documentation of appsId.
source

pub fn authorized_certificates_get( &self, apps_id: &str, authorized_certificates_id: &str ) -> AppAuthorizedCertificateGetCall<'a, S>

Create a builder to help you perform the following task:

Gets the specified SSL certificate.

§Arguments
  • appsId - Part of name. Name of the resource requested. Example: apps/myapp/authorizedCertificates/12345.
  • authorizedCertificatesId - Part of name. See documentation of appsId.
source

pub fn authorized_certificates_list( &self, apps_id: &str ) -> AppAuthorizedCertificateListCall<'a, S>

Create a builder to help you perform the following task:

Lists all SSL certificates the user is authorized to administer.

§Arguments
  • appsId - Part of parent. Name of the parent Application resource. Example: apps/myapp.
source

pub fn authorized_certificates_patch( &self, request: AuthorizedCertificate, apps_id: &str, authorized_certificates_id: &str ) -> AppAuthorizedCertificatePatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update certificate_data with a new certificate. The new certificate must be applicable to the same domains as the original certificate. The certificate display_name may also be updated.

§Arguments
  • request - No description provided.
  • appsId - Part of name. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345.
  • authorizedCertificatesId - Part of name. See documentation of appsId.
source

pub fn authorized_domains_list( &self, apps_id: &str ) -> AppAuthorizedDomainListCall<'a, S>

Create a builder to help you perform the following task:

Lists all domains the user is authorized to administer.

§Arguments
  • appsId - Part of parent. Name of the parent Application resource. Example: apps/myapp.
source

pub fn domain_mappings_create( &self, request: DomainMapping, apps_id: &str ) -> AppDomainMappingCreateCall<'a, S>

Create a builder to help you perform the following task:

Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

§Arguments
  • request - No description provided.
  • appsId - Part of parent. Name of the parent Application resource. Example: apps/myapp.
source

pub fn domain_mappings_delete( &self, apps_id: &str, domain_mappings_id: &str ) -> AppDomainMappingDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.

§Arguments
  • appsId - Part of name. Name of the resource to delete. Example: apps/myapp/domainMappings/example.com.
  • domainMappingsId - Part of name. See documentation of appsId.
source

pub fn domain_mappings_get( &self, apps_id: &str, domain_mappings_id: &str ) -> AppDomainMappingGetCall<'a, S>

Create a builder to help you perform the following task:

Gets the specified domain mapping.

§Arguments
  • appsId - Part of name. Name of the resource requested. Example: apps/myapp/domainMappings/example.com.
  • domainMappingsId - Part of name. See documentation of appsId.
source

pub fn domain_mappings_list( &self, apps_id: &str ) -> AppDomainMappingListCall<'a, S>

Create a builder to help you perform the following task:

Lists the domain mappings on an application.

§Arguments
  • appsId - Part of parent. Name of the parent Application resource. Example: apps/myapp.
source

pub fn domain_mappings_patch( &self, request: DomainMapping, apps_id: &str, domain_mappings_id: &str ) -> AppDomainMappingPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.

§Arguments
  • request - No description provided.
  • appsId - Part of name. Name of the resource to update. Example: apps/myapp/domainMappings/example.com.
  • domainMappingsId - Part of name. See documentation of appsId.
source

pub fn firewall_ingress_rules_batch_update( &self, request: BatchUpdateIngressRulesRequest, apps_id: &str ) -> AppFirewallIngressRuleBatchUpdateCall<'a, S>

Create a builder to help you perform the following task:

Replaces the entire firewall ruleset in one bulk operation. This overrides and replaces the rules of an existing firewall with the new rules.If the final rule does not match traffic with the ‘*’ wildcard IP range, then an “allow all” rule is explicitly added to the end of the list.

§Arguments
  • request - No description provided.
  • appsId - Part of name. Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules.
source

pub fn firewall_ingress_rules_create( &self, request: FirewallRule, apps_id: &str ) -> AppFirewallIngressRuleCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates a firewall rule for the application.

§Arguments
  • request - No description provided.
  • appsId - Part of parent. Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules.
source

pub fn firewall_ingress_rules_delete( &self, apps_id: &str, ingress_rules_id: &str ) -> AppFirewallIngressRuleDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified firewall rule.

§Arguments
  • appsId - Part of name. Name of the Firewall resource to delete. Example: apps/myapp/firewall/ingressRules/100.
  • ingressRulesId - Part of name. See documentation of appsId.
source

pub fn firewall_ingress_rules_get( &self, apps_id: &str, ingress_rules_id: &str ) -> AppFirewallIngressRuleGetCall<'a, S>

Create a builder to help you perform the following task:

Gets the specified firewall rule.

§Arguments
  • appsId - Part of name. Name of the Firewall resource to retrieve. Example: apps/myapp/firewall/ingressRules/100.
  • ingressRulesId - Part of name. See documentation of appsId.
source

pub fn firewall_ingress_rules_list( &self, apps_id: &str ) -> AppFirewallIngressRuleListCall<'a, S>

Create a builder to help you perform the following task:

Lists the firewall rules of an application.

§Arguments
  • appsId - Part of parent. Name of the Firewall collection to retrieve. Example: apps/myapp/firewall/ingressRules.
source

pub fn firewall_ingress_rules_patch( &self, request: FirewallRule, apps_id: &str, ingress_rules_id: &str ) -> AppFirewallIngressRulePatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified firewall rule.

§Arguments
  • request - No description provided.
  • appsId - Part of name. Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100.
  • ingressRulesId - Part of name. See documentation of appsId.
source

pub fn locations_get( &self, apps_id: &str, locations_id: &str ) -> AppLocationGetCall<'a, S>

Create a builder to help you perform the following task:

Gets information about a location.

§Arguments
  • appsId - Part of name. Resource name for the location.
  • locationsId - Part of name. See documentation of appsId.
source

pub fn locations_list(&self, apps_id: &str) -> AppLocationListCall<'a, S>

Create a builder to help you perform the following task:

Lists information about the supported locations for this service.

§Arguments
  • appsId - Part of name. The resource that owns the locations collection, if applicable.
source

pub fn operations_get( &self, apps_id: &str, operations_id: &str ) -> AppOperationGetCall<'a, S>

Create a builder to help you perform the following task:

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

§Arguments
  • appsId - Part of name. The name of the operation resource.
  • operationsId - Part of name. See documentation of appsId.
source

pub fn operations_list(&self, apps_id: &str) -> AppOperationListCall<'a, S>

Create a builder to help you perform the following task:

Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.

§Arguments
  • appsId - Part of name. The name of the operation’s parent resource.
source

pub fn services_versions_instances_debug( &self, request: DebugInstanceRequest, apps_id: &str, services_id: &str, versions_id: &str, instances_id: &str ) -> AppServiceVersionInstanceDebugCall<'a, S>

Create a builder to help you perform the following task:

Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in “debug mode”, the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started.Only applicable for instances in App Engine flexible environment.

§Arguments
  • request - No description provided.
  • appsId - Part of name. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.
  • servicesId - Part of name. See documentation of appsId.
  • versionsId - Part of name. See documentation of appsId.
  • instancesId - Part of name. See documentation of appsId.
source

pub fn services_versions_instances_delete( &self, apps_id: &str, services_id: &str, versions_id: &str, instances_id: &str ) -> AppServiceVersionInstanceDeleteCall<'a, S>

Create a builder to help you perform the following task:

Stops a running instance.The instance might be automatically recreated based on the scaling settings of the version. For more information, see “How Instances are Managed” (standard environment (https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | flexible environment (https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).To ensure that instances are not re-created and avoid getting billed, you can stop all instances within the target version by changing the serving status of the version to STOPPED with the apps.services.versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) method.

§Arguments
  • appsId - Part of name. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.
  • servicesId - Part of name. See documentation of appsId.
  • versionsId - Part of name. See documentation of appsId.
  • instancesId - Part of name. See documentation of appsId.
source

pub fn services_versions_instances_get( &self, apps_id: &str, services_id: &str, versions_id: &str, instances_id: &str ) -> AppServiceVersionInstanceGetCall<'a, S>

Create a builder to help you perform the following task:

Gets instance information.

§Arguments
  • appsId - Part of name. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.
  • servicesId - Part of name. See documentation of appsId.
  • versionsId - Part of name. See documentation of appsId.
  • instancesId - Part of name. See documentation of appsId.
source

pub fn services_versions_instances_list( &self, apps_id: &str, services_id: &str, versions_id: &str ) -> AppServiceVersionInstanceListCall<'a, S>

Create a builder to help you perform the following task:

Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackdriver Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).

§Arguments
  • appsId - Part of parent. Name of the parent Version resource. Example: apps/myapp/services/default/versions/v1.
  • servicesId - Part of parent. See documentation of appsId.
  • versionsId - Part of parent. See documentation of appsId.
source

pub fn services_versions_create( &self, request: Version, apps_id: &str, services_id: &str ) -> AppServiceVersionCreateCall<'a, S>

Create a builder to help you perform the following task:

Deploys code and resource files to a new version.

§Arguments
  • request - No description provided.
  • appsId - Part of parent. Name of the parent resource to create this version under. Example: apps/myapp/services/default.
  • servicesId - Part of parent. See documentation of appsId.
source

pub fn services_versions_delete( &self, apps_id: &str, services_id: &str, versions_id: &str ) -> AppServiceVersionDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes an existing Version resource.

§Arguments
  • appsId - Part of name. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.
  • servicesId - Part of name. See documentation of appsId.
  • versionsId - Part of name. See documentation of appsId.
source

pub fn services_versions_get( &self, apps_id: &str, services_id: &str, versions_id: &str ) -> AppServiceVersionGetCall<'a, S>

Create a builder to help you perform the following task:

Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.

§Arguments
  • appsId - Part of name. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.
  • servicesId - Part of name. See documentation of appsId.
  • versionsId - Part of name. See documentation of appsId.
source

pub fn services_versions_list( &self, apps_id: &str, services_id: &str ) -> AppServiceVersionListCall<'a, S>

Create a builder to help you perform the following task:

Lists the versions of a service.

§Arguments
  • appsId - Part of parent. Name of the parent Service resource. Example: apps/myapp/services/default.
  • servicesId - Part of parent. See documentation of appsId.
source

pub fn services_versions_patch( &self, request: Version, apps_id: &str, services_id: &str, versions_id: &str ) -> AppServiceVersionPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)

§Arguments
  • request - No description provided.
  • appsId - Part of name. Name of the resource to update. Example: apps/myapp/services/default/versions/1.
  • servicesId - Part of name. See documentation of appsId.
  • versionsId - Part of name. See documentation of appsId.
source

pub fn services_delete( &self, apps_id: &str, services_id: &str ) -> AppServiceDeleteCall<'a, S>

Create a builder to help you perform the following task:

Deletes the specified service and all enclosed versions.

§Arguments
  • appsId - Part of name. Name of the resource requested. Example: apps/myapp/services/default.
  • servicesId - Part of name. See documentation of appsId.
source

pub fn services_get( &self, apps_id: &str, services_id: &str ) -> AppServiceGetCall<'a, S>

Create a builder to help you perform the following task:

Gets the current configuration of the specified service.

§Arguments
  • appsId - Part of name. Name of the resource requested. Example: apps/myapp/services/default.
  • servicesId - Part of name. See documentation of appsId.
source

pub fn services_list(&self, apps_id: &str) -> AppServiceListCall<'a, S>

Create a builder to help you perform the following task:

Lists all the services in the application.

§Arguments
  • appsId - Part of parent. Name of the parent Application resource. Example: apps/myapp.
source

pub fn services_patch( &self, request: Service, apps_id: &str, services_id: &str ) -> AppServicePatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the configuration of the specified service.

§Arguments
  • request - No description provided.
  • appsId - Part of name. Name of the resource to update. Example: apps/myapp/services/default.
  • servicesId - Part of name. See documentation of appsId.
source

pub fn create(&self, request: Application) -> AppCreateCall<'a, S>

Create a builder to help you perform the following task:

Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/).

§Arguments
  • request - No description provided.
source

pub fn get(&self, apps_id: &str) -> AppGetCall<'a, S>

Create a builder to help you perform the following task:

Gets information about an application.

§Arguments
  • appsId - Part of name. Name of the Application resource to get. Example: apps/myapp.
source

pub fn list_runtimes(&self, apps_id: &str) -> AppListRuntimeCall<'a, S>

Create a builder to help you perform the following task:

Lists all the available runtimes for the application.

§Arguments
  • appsId - Part of parent. Required. Name of the parent Application resource. Example: apps/myapp.
source

pub fn patch(&self, request: Application, apps_id: &str) -> AppPatchCall<'a, S>

Create a builder to help you perform the following task:

Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application. default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application.

§Arguments
  • request - No description provided.
  • appsId - Part of name. Name of the Application resource to update. Example: apps/myapp.
source

pub fn repair( &self, request: RepairApplicationRequest, apps_id: &str ) -> AppRepairCall<'a, S>

Create a builder to help you perform the following task:

Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B“name“%3A“projects%2F-%2FserviceAccounts%2Funique_id“%2C“resource“%3A%7B%7D%7D . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.

§Arguments
  • request - No description provided.
  • appsId - Part of name. Name of the application to repair. Example: apps/myapp

Trait Implementations§

source§

impl<'a, S> MethodsBuilder for AppMethods<'a, S>

Auto Trait Implementations§

§

impl<'a, S> !RefUnwindSafe for AppMethods<'a, S>

§

impl<'a, S> Send for AppMethods<'a, S>
where S: Sync,

§

impl<'a, S> Sync for AppMethods<'a, S>
where S: Sync,

§

impl<'a, S> Unpin for AppMethods<'a, S>

§

impl<'a, S> !UnwindSafe for AppMethods<'a, S>

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> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more