pub enum OpenIdentity {
Credentialless,
ServicePrincipal {
principal_id: [u8; 16],
},
}Expand description
The identity requested when attaching a shared handle (spec §2.2).
Stage 1A supports credentialless and service-principal attaches. Catalog users authenticate through an attached handle (Stage 1D session work adds credentialed attaches).
Variants§
Credentialless
Attach without credentials. Rejected (fail closed) when the database
catalog has require_auth enabled.
ServicePrincipal
Attach as a non-catalog service principal.
Trait Implementations§
Source§impl Clone for OpenIdentity
impl Clone for OpenIdentity
Source§fn clone(&self) -> OpenIdentity
fn clone(&self) -> OpenIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenIdentity
impl Debug for OpenIdentity
impl Eq for OpenIdentity
Source§impl PartialEq for OpenIdentity
impl PartialEq for OpenIdentity
impl StructuralPartialEq for OpenIdentity
Auto Trait Implementations§
impl Freeze for OpenIdentity
impl RefUnwindSafe for OpenIdentity
impl Send for OpenIdentity
impl Sync for OpenIdentity
impl Unpin for OpenIdentity
impl UnsafeUnpin for OpenIdentity
impl UnwindSafe for OpenIdentity
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more