pub struct SchemeProxy<'a>(/* private fields */);
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) -> Builder<'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 duplicate 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<'a> Defaults for SchemeProxy<'a>
impl<'a> Defaults for SchemeProxy<'a>
const INTERFACE: &'static Option<InterfaceName<'static>>
const DESTINATION: &'static Option<BusName<'static>>
const PATH: &'static Option<ObjectPath<'static>>
Auto Trait Implementations§
impl<'a> Freeze for SchemeProxy<'a>
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