pub enum HistoryWindow {
Nothing,
All,
UpTo(i64),
}Expand description
How much of a room’s timeline a caller may read, per
visible_upper_bound. UpTo is INCLUSIVE (a caller who left the room
still sees the m.room.member leave event itself, since that is the last
event they witnessed).
Variants§
Nothing
No read access to this room’s timeline at all.
All
Every event, unbounded.
UpTo(i64)
Every event with stream_id <= this.
Implementations§
Trait Implementations§
Source§impl Clone for HistoryWindow
impl Clone for HistoryWindow
impl Copy for HistoryWindow
Source§impl Debug for HistoryWindow
impl Debug for HistoryWindow
impl Eq for HistoryWindow
Source§impl PartialEq for HistoryWindow
impl PartialEq for HistoryWindow
impl StructuralPartialEq for HistoryWindow
Auto Trait Implementations§
impl Freeze for HistoryWindow
impl RefUnwindSafe for HistoryWindow
impl Send for HistoryWindow
impl Sync for HistoryWindow
impl Unpin for HistoryWindow
impl UnsafeUnpin for HistoryWindow
impl UnwindSafe for HistoryWindow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.