Struct tintanum::SchemeProxy
source · pub struct SchemeProxy<'a>(_);
Implementations§
source§impl<'a> SchemeProxy<'a>
impl<'a> SchemeProxy<'a>
pub async fn new(conn: &Connection) -> Result<SchemeProxy<'a>>
pub async fn with_new_connection() -> Result<SchemeProxy<'a>>
pub fn builder(conn: &Connection) -> ProxyBuilder<'a, Self>
pub async fn read(&self) -> Result<SchemePreference>
pub async fn init_and_receive_changed( &self ) -> Result<impl Stream<Item = SchemePreference>>
Trait Implementations§
source§impl<'a> Clone for SchemeProxy<'a>
impl<'a> Clone for SchemeProxy<'a>
source§fn clone(&self) -> SchemeProxy<'a>
fn clone(&self) -> SchemeProxy<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for SchemeProxy<'a>
impl<'a> Debug for SchemeProxy<'a>
source§impl<'c> From<Proxy<'c>> for SchemeProxy<'c>
impl<'c> From<Proxy<'c>> for SchemeProxy<'c>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SchemeProxy<'a>
impl<'a> Send for SchemeProxy<'a>
impl<'a> Sync for SchemeProxy<'a>
impl<'a> Unpin for SchemeProxy<'a>
impl<'a> !UnwindSafe for SchemeProxy<'a>
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