pub struct FilesProxyBlocking<'p>(/* private fields */);Expand description
Proxy interface for org.gnome.OnlineAccounts.Files.
Implementations§
Source§impl<'p> FilesProxyBlocking<'p>
impl<'p> FilesProxyBlocking<'p>
Sourcepub fn new<P>(conn: &Connection, path: P) -> Result<FilesProxyBlocking<'p>>
pub fn new<P>(conn: &Connection, path: P) -> Result<FilesProxyBlocking<'p>>
Creates a new proxy with the given path, and the default destination.
Sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
Sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self, returning the underlying zbus::Proxy.
Sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy.
Sourcepub fn cached_uri(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_uri( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
WebDAV endpoint URI.
Get the cached value of the Uri property, or None if the property is not cached.
Sourcepub fn receive_uri_changed(
&self,
) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok> ⓘ
pub fn receive_uri_changed( &self, ) -> PropertyIterator<'p, <Result<String> as ResultAdapter>::Ok> ⓘ
WebDAV endpoint URI.
Create a stream for the Uri property changes. This is a convenient wrapper around zbus::blocking::Proxy::receive_property_changed.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for FilesProxyBlocking<'p>
impl<'p> AsMut<Proxy<'p>> for FilesProxyBlocking<'p>
Source§impl<'p> AsRef<Proxy<'p>> for FilesProxyBlocking<'p>
impl<'p> AsRef<Proxy<'p>> for FilesProxyBlocking<'p>
Source§impl<'p> Clone for FilesProxyBlocking<'p>
impl<'p> Clone for FilesProxyBlocking<'p>
Source§impl<'p> Debug for FilesProxyBlocking<'p>
impl<'p> Debug for FilesProxyBlocking<'p>
Source§impl<'a> Defaults for FilesProxyBlocking<'a>
impl<'a> Defaults for FilesProxyBlocking<'a>
const INTERFACE: &'static Option<InterfaceName<'static>>
const DESTINATION: &'static Option<BusName<'static>>
const PATH: &'static Option<ObjectPath<'static>>
Source§impl<'p> From<Proxy<'p>> for FilesProxyBlocking<'p>
impl<'p> From<Proxy<'p>> for FilesProxyBlocking<'p>
Source§impl<'p> ProxyImpl<'p> for FilesProxyBlocking<'p>
impl<'p> ProxyImpl<'p> for FilesProxyBlocking<'p>
Source§impl<'p> Serialize for FilesProxyBlocking<'p>
impl<'p> Serialize for FilesProxyBlocking<'p>
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for FilesProxyBlocking<'p>
impl<'p> !UnwindSafe for FilesProxyBlocking<'p>
impl<'p> Freeze for FilesProxyBlocking<'p>
impl<'p> Send for FilesProxyBlocking<'p>
impl<'p> Sync for FilesProxyBlocking<'p>
impl<'p> Unpin for FilesProxyBlocking<'p>
impl<'p> UnsafeUnpin for FilesProxyBlocking<'p>
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