Trait KeyspaceExt

Source
pub trait KeyspaceExt {
    // Required methods
    fn get_keyspace(&self) -> Option<String>;
    fn set_keyspace(&mut self, keyspace: impl Into<Name>);

    // Provided method
    fn with_keyspace(self, keyspace: impl Into<Name>) -> Self
       where Self: Sized { ... }
}

Required Methods§

Source

fn get_keyspace(&self) -> Option<String>

Source

fn set_keyspace(&mut self, keyspace: impl Into<Name>)

Provided Methods§

Source

fn with_keyspace(self, keyspace: impl Into<Name>) -> Self
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§