pub enum NativeForeignWrapper {
Memory,
DuckDB,
Arrow,
}Expand description
Implementations already provided by the host. A SQL name alone never selects one.
Variants§
Implementations§
Source§impl NativeForeignWrapper
impl NativeForeignWrapper
pub const ALL: [Self; 3]
pub const fn handler_name(self) -> &'static str
pub fn handler_oid(self) -> i64
pub fn for_handler(oid: u32) -> Option<Self>
pub const fn name(self) -> &'static str
Sourcepub const fn reference(self) -> ForeignWrapperReference
pub const fn reference(self) -> ForeignWrapperReference
Native wrappers occupy reserved addresses in their own catalog class, below user OIDs.
Trait Implementations§
Source§impl Clone for NativeForeignWrapper
impl Clone for NativeForeignWrapper
impl Copy for NativeForeignWrapper
Source§impl Debug for NativeForeignWrapper
impl Debug for NativeForeignWrapper
Source§impl<'de> Deserialize<'de> for NativeForeignWrapper
impl<'de> Deserialize<'de> for NativeForeignWrapper
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NativeForeignWrapper
Source§impl PartialEq for NativeForeignWrapper
impl PartialEq for NativeForeignWrapper
Source§impl Serialize for NativeForeignWrapper
impl Serialize for NativeForeignWrapper
impl StructuralPartialEq for NativeForeignWrapper
Auto Trait Implementations§
impl Freeze for NativeForeignWrapper
impl RefUnwindSafe for NativeForeignWrapper
impl Send for NativeForeignWrapper
impl Sync for NativeForeignWrapper
impl Unpin for NativeForeignWrapper
impl UnsafeUnpin for NativeForeignWrapper
impl UnwindSafe for NativeForeignWrapper
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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