Struct gcloud_sdk::GoogleEnvironment
source · pub struct GoogleEnvironment;Implementations§
source§impl GoogleEnvironment
impl GoogleEnvironment
pub async fn detect_google_project_id() -> Option<String>
pub async fn init_google_services_channel<S: AsRef<str>>( api_url: S ) -> Result<Channel, Error>
pub fn init_google_services_channel_tls_config( domain_name: String ) -> ClientTlsConfig
pub async fn init_google_services_channel_with_native_roots<S: AsRef<str>>( api_url: S ) -> Result<Channel, Error>
Auto Trait Implementations§
impl RefUnwindSafe for GoogleEnvironment
impl Send for GoogleEnvironment
impl Sync for GoogleEnvironment
impl Unpin for GoogleEnvironment
impl UnwindSafe for GoogleEnvironment
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
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