pub struct ConnDag<'a> {
pub conn: &'a Connection,
pub room: &'a str,
}Expand description
The DAG of one room as the core sees it.
Fields§
§conn: &'a Connection§room: &'a strTrait Implementations§
Source§impl DagRead for ConnDag<'_>
impl DagRead for ConnDag<'_>
Source§fn pdu(&self, id: &EventId) -> Option<Pdu>
fn pdu(&self, id: &EventId) -> Option<Pdu>
A stored event (accepted, soft-failed or imported outlier).
Source§fn state_after(&self, id: &EventId) -> Option<StateMap<OwnedEventId>>
fn state_after(&self, id: &EventId) -> Option<StateMap<OwnedEventId>>
The room state after the event, for events that have one.
Source§fn extremities(&self) -> Vec<OwnedEventId>
fn extremities(&self) -> Vec<OwnedEventId>
The room’s forward extremities.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ConnDag<'a>
impl<'a> !Send for ConnDag<'a>
impl<'a> !Sync for ConnDag<'a>
impl<'a> !UnwindSafe for ConnDag<'a>
impl<'a> Freeze for ConnDag<'a>
impl<'a> Unpin for ConnDag<'a>
impl<'a> UnsafeUnpin for ConnDag<'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