pub struct TableProxy<'p>(/* private fields */);
Implementations§
Source§impl<'p> TableProxy<'p>
impl<'p> TableProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<TableProxy<'p>>
pub async fn new(conn: &Connection) -> Result<TableProxy<'p>>
Creates a new proxy with the default service and path.
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 async fn add_column_selection(&self, column: i32) -> Result<bool>
pub async fn add_column_selection(&self, column: i32) -> Result<bool>
AddColumnSelection method
Sourcepub async fn add_row_selection(&self, row: i32) -> Result<bool>
pub async fn add_row_selection(&self, row: i32) -> Result<bool>
AddRowSelection method
Sourcepub async fn get_accessible_at(
&self,
row: i32,
column: i32,
) -> Result<ObjectRef>
pub async fn get_accessible_at( &self, row: i32, column: i32, ) -> Result<ObjectRef>
GetAccessibleAt method
Sourcepub async fn get_column_at_index(&self, index: i32) -> Result<i32>
pub async fn get_column_at_index(&self, index: i32) -> Result<i32>
GetColumnAtIndex method
Sourcepub async fn get_column_description(&self, column: i32) -> Result<String>
pub async fn get_column_description(&self, column: i32) -> Result<String>
GetColumnDescription method
Sourcepub async fn get_column_extent_at(&self, row: i32, column: i32) -> Result<i32>
pub async fn get_column_extent_at(&self, row: i32, column: i32) -> Result<i32>
GetColumnExtentAt method
Sourcepub async fn get_column_header(&self, column: i32) -> Result<ObjectRef>
pub async fn get_column_header(&self, column: i32) -> Result<ObjectRef>
GetColumnHeader method
Sourcepub async fn get_row_at_index(&self, index: i32) -> Result<i32>
pub async fn get_row_at_index(&self, index: i32) -> Result<i32>
GetRowAtIndex method
Sourcepub async fn get_row_column_extents_at_index(
&self,
index: i32,
) -> Result<(bool, i32, i32, i32, i32, bool)>
pub async fn get_row_column_extents_at_index( &self, index: i32, ) -> Result<(bool, i32, i32, i32, i32, bool)>
GetRowColumnExtentsAtIndex method
Sourcepub async fn get_row_description(&self, row: i32) -> Result<String>
pub async fn get_row_description(&self, row: i32) -> Result<String>
GetRowDescription method
Sourcepub async fn get_row_extent_at(&self, row: i32, column: i32) -> Result<i32>
pub async fn get_row_extent_at(&self, row: i32, column: i32) -> Result<i32>
GetRowExtentAt method
Sourcepub async fn get_row_header(&self, row: i32) -> Result<ObjectRef>
pub async fn get_row_header(&self, row: i32) -> Result<ObjectRef>
GetRowHeader method
Sourcepub async fn get_selected_columns(&self) -> Result<Vec<i32>>
pub async fn get_selected_columns(&self) -> Result<Vec<i32>>
GetSelectedColumns method
Sourcepub async fn get_selected_rows(&self) -> Result<Vec<i32>>
pub async fn get_selected_rows(&self) -> Result<Vec<i32>>
GetSelectedRows method
Sourcepub async fn is_column_selected(&self, column: i32) -> Result<bool>
pub async fn is_column_selected(&self, column: i32) -> Result<bool>
IsColumnSelected method
Sourcepub async fn is_row_selected(&self, row: i32) -> Result<bool>
pub async fn is_row_selected(&self, row: i32) -> Result<bool>
IsRowSelected method
Sourcepub async fn remove_column_selection(&self, column: i32) -> Result<bool>
pub async fn remove_column_selection(&self, column: i32) -> Result<bool>
RemoveColumnSelection method
Sourcepub async fn remove_row_selection(&self, row: i32) -> Result<bool>
pub async fn remove_row_selection(&self, row: i32) -> Result<bool>
RemoveRowSelection method
Sourcepub fn cached_caption(
&self,
) -> Result<Option<<Result<ObjectRef> as ResultAdapter>::Ok>, <Result<ObjectRef> as ResultAdapter>::Err>
pub fn cached_caption( &self, ) -> Result<Option<<Result<ObjectRef> as ResultAdapter>::Ok>, <Result<ObjectRef> as ResultAdapter>::Err>
Get the cached value of the Caption
property, or None
if the property is not cached.
Sourcepub async fn receive_caption_changed(
&self,
) -> PropertyStream<'p, <Result<ObjectRef> as ResultAdapter>::Ok>
pub async fn receive_caption_changed( &self, ) -> PropertyStream<'p, <Result<ObjectRef> as ResultAdapter>::Ok>
Create a stream for the Caption
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub fn cached_ncolumns(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_ncolumns( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the Ncolumns
property, or None
if the property is not cached.
Sourcepub async fn receive_ncolumns_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_ncolumns_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the Ncolumns
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub fn cached_nrows(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_nrows( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the Nrows
property, or None
if the property is not cached.
Sourcepub async fn receive_nrows_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_nrows_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the Nrows
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn nselected_columns(&self) -> Result<i32>
pub async fn nselected_columns(&self) -> Result<i32>
NSelectedColumns property
Sourcepub fn cached_nselected_columns(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_nselected_columns( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the NselectedColumns
property, or None
if the property is not cached.
Sourcepub async fn receive_nselected_columns_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_nselected_columns_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the NselectedColumns
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub async fn nselected_rows(&self) -> Result<i32>
pub async fn nselected_rows(&self) -> Result<i32>
NSelectedRows property
Sourcepub fn cached_nselected_rows(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_nselected_rows( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Get the cached value of the NselectedRows
property, or None
if the property is not cached.
Sourcepub async fn receive_nselected_rows_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_nselected_rows_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Create a stream for the NselectedRows
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Sourcepub fn cached_summary(
&self,
) -> Result<Option<<Result<ObjectRef> as ResultAdapter>::Ok>, <Result<ObjectRef> as ResultAdapter>::Err>
pub fn cached_summary( &self, ) -> Result<Option<<Result<ObjectRef> as ResultAdapter>::Ok>, <Result<ObjectRef> as ResultAdapter>::Err>
Get the cached value of the Summary
property, or None
if the property is not cached.
Sourcepub async fn receive_summary_changed(
&self,
) -> PropertyStream<'p, <Result<ObjectRef> as ResultAdapter>::Ok>
pub async fn receive_summary_changed( &self, ) -> PropertyStream<'p, <Result<ObjectRef> as ResultAdapter>::Ok>
Create a stream for the Summary
property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed
.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for TableProxy<'p>
impl<'p> AsMut<Proxy<'p>> for TableProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for TableProxy<'p>
impl<'p> AsRef<Proxy<'p>> for TableProxy<'p>
Source§impl<'p> Clone for TableProxy<'p>
impl<'p> Clone for TableProxy<'p>
Source§fn clone(&self) -> TableProxy<'p>
fn clone(&self) -> TableProxy<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more