#[non_exhaustive]pub enum ReferralCredentials {
Anonymous,
ServiceAccount,
}Expand description
What a connection opened to follow a referral binds as.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Anonymous
No bind: the referred operation is the first request.
ServiceAccount
Bind with the client’s service account. The referral names the host, so this sends the service account’s password where the server says.
Trait Implementations§
Source§impl Clone for ReferralCredentials
impl Clone for ReferralCredentials
impl Copy for ReferralCredentials
Source§impl Debug for ReferralCredentials
impl Debug for ReferralCredentials
Source§impl Default for ReferralCredentials
impl Default for ReferralCredentials
impl Eq for ReferralCredentials
Source§impl PartialEq for ReferralCredentials
impl PartialEq for ReferralCredentials
impl StructuralPartialEq for ReferralCredentials
Auto Trait Implementations§
impl Forget for ReferralCredentials
impl Freeze for ReferralCredentials
impl Move for ReferralCredentials
impl RefUnwindSafe for ReferralCredentials
impl Send for ReferralCredentials
impl Sync for ReferralCredentials
impl Unpin for ReferralCredentials
impl UnsafeUnpin for ReferralCredentials
impl UnwindSafe for ReferralCredentials
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