Skip to main content

TableFunctionSession

Trait TableFunctionSession 

Source
pub trait TableFunctionSession {
    // Required methods
    fn listening_channels(&self) -> Vec<String>;
    fn sequence_data(&self, args: &[Value]) -> Result<Value, SQLError>;
    fn sequence_parameters(&self, args: &[Value]) -> Result<Value, SQLError>;
    fn role_oid(&self, name: &str) -> Result<Option<i64>, SQLError>;
}

Required Methods§

Source

fn listening_channels(&self) -> Vec<String>

Source

fn sequence_data(&self, args: &[Value]) -> Result<Value, SQLError>

Source

fn sequence_parameters(&self, args: &[Value]) -> Result<Value, SQLError>

Source

fn role_oid(&self, name: &str) -> Result<Option<i64>, SQLError>

The OID of the role with this name in the statement’s catalog.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§