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§
fn get_keyspace(&self) -> Option<String>
fn set_keyspace(&mut self, keyspace: impl Into<Name>)
Provided Methods§
fn with_keyspace(self, keyspace: impl Into<Name>) -> Selfwhere
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.