pub struct FilesProxy<'p>(/* private fields */);Expand description
Proxy interface for org.gnome.OnlineAccounts.Files.
Implementations§
Source§impl<'p> FilesProxy<'p>
impl<'p> FilesProxy<'p>
Sourcepub async fn new<P>(conn: &Connection, path: P) -> Result<FilesProxy<'p>>
pub async fn new<P>(conn: &Connection, path: P) -> Result<FilesProxy<'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 async fn receive_uri_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_uri_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
WebDAV endpoint URI.
Create a stream for the Uri property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for FilesProxy<'p>
impl<'p> AsMut<Proxy<'p>> for FilesProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for FilesProxy<'p>
impl<'p> AsRef<Proxy<'p>> for FilesProxy<'p>
Source§impl<'p> Clone for FilesProxy<'p>
impl<'p> Clone for FilesProxy<'p>
Source§impl<'p> Debug for FilesProxy<'p>
impl<'p> Debug for FilesProxy<'p>
Source§impl<'a> Defaults for FilesProxy<'a>
impl<'a> Defaults for FilesProxy<'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 FilesProxy<'p>
impl<'p> From<Proxy<'p>> for FilesProxy<'p>
Source§impl<'p> ProxyImpl<'p> for FilesProxy<'p>
impl<'p> ProxyImpl<'p> for FilesProxy<'p>
Source§impl<'p> Serialize for FilesProxy<'p>
impl<'p> Serialize for FilesProxy<'p>
Auto Trait Implementations§
impl<'p> !RefUnwindSafe for FilesProxy<'p>
impl<'p> !UnwindSafe for FilesProxy<'p>
impl<'p> Freeze for FilesProxy<'p>
impl<'p> Send for FilesProxy<'p>
impl<'p> Sync for FilesProxy<'p>
impl<'p> Unpin for FilesProxy<'p>
impl<'p> UnsafeUnpin for FilesProxy<'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