pub struct BindingResolution { /* private fields */ }Expand description
The namespace buffers and their constructor lease move together. Lookup mode is inline state and cannot replace those buffers.
Implementations§
Source§impl BindingResolution
impl BindingResolution
pub fn from_produced(value: Produced<RelationNameResolution>) -> Self
pub fn copy_with_control( &self, control: &ProductionControl<'_>, ) -> Result<Self, SQLError>
pub fn set_lookup_mode( &mut self, mode: RelationLookupMode, ) -> RelationLookupMode
Methods from Deref<Target = RelationNameResolution>§
pub fn copy_with_control( &self, control: &ProductionControl<'_>, ) -> Result<Produced<Self>, SQLError>
pub fn search_path(&self) -> &[String]
pub fn search_path_contains(&self, schema: &str) -> bool
pub fn current_user(&self) -> &RoleReference
pub fn lookup_mode(&self) -> RelationLookupMode
pub fn qualified_schema( &self, name: &str, ) -> Result<Option<(String, String)>, SQLError>
pub fn raw_relation_lookup_candidates( &self, name: &str, ) -> Result<Vec<RelationIdentity>, SQLError>
Trait Implementations§
Source§impl Clone for BindingResolution
impl Clone for BindingResolution
Source§impl Deref for BindingResolution
impl Deref for BindingResolution
Source§impl From<RelationNameResolution> for BindingResolution
impl From<RelationNameResolution> for BindingResolution
Source§fn from(value: RelationNameResolution) -> Self
fn from(value: RelationNameResolution) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BindingResolution
impl RefUnwindSafe for BindingResolution
impl Send for BindingResolution
impl Sync for BindingResolution
impl Unpin for BindingResolution
impl UnsafeUnpin for BindingResolution
impl UnwindSafe for BindingResolution
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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