Struct grpcio::ChannelCredentials
source · [−]pub struct ChannelCredentials { /* private fields */ }
Expand description
Client-side SSL credentials.
Use ChannelCredentialsBuilder
or ChannelCredentials::google_default_credentials
to
build a ChannelCredentials
.
Implementations
sourceimpl ChannelCredentials
impl ChannelCredentials
pub fn as_mut_ptr(&mut self) -> *mut grpc_channel_credentials
sourcepub fn google_default_credentials() -> Result<ChannelCredentials>
pub fn google_default_credentials() -> Result<ChannelCredentials>
Try to build a ChannelCredentials
to authenticate with Google OAuth credentials.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ChannelCredentials
impl !Send for ChannelCredentials
impl !Sync for ChannelCredentials
impl Unpin for ChannelCredentials
impl UnwindSafe for ChannelCredentials
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more