Struct bitcoin_qt::PeerTableModel
source · pub struct PeerTableModel { /* private fields */ }
Expand description
| Qt model providing information about | connected peers, similar to the “getpeerinfo” | RPC call. Used by the rpc console UI. |
Implementations§
source§impl PeerTableModel
impl PeerTableModel
pub fn default_columns() -> u32
pub fn new(node: Rc<RefCell<dyn NodeInterface>>, parent: *mut u32) -> Self
pub fn start_auto_refresh(&mut self)
pub fn stop_auto_refresh(&mut self)
sourcepub fn row_count(&self, parent: Option<&QModelIndex>) -> i32
pub fn row_count(&self, parent: Option<&QModelIndex>) -> i32
| @name Methods overridden from QAbstractTableModel |
pub fn column_count(&self, parent: Option<&QModelIndex>) -> i32
pub fn data(&self, index: &QModelIndex, role: Option<i32>) -> u32
pub fn header_data( &self, section: i32, orientation: u32, role: Option<i32> ) -> u32
pub fn flags(&self, index: &QModelIndex) -> u32
pub fn index( &self, row: i32, column: i32, parent: Option<&QModelIndex> ) -> QModelIndex
pub fn refresh(&mut self)
Auto Trait Implementations§
impl !RefUnwindSafe for PeerTableModel
impl !Send for PeerTableModel
impl !Sync for PeerTableModel
impl Unpin for PeerTableModel
impl !UnwindSafe for PeerTableModel
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more