pub struct KnockedRoomBuilder { /* private fields */ }Implementations§
Source§impl KnockedRoomBuilder
impl KnockedRoomBuilder
Sourcepub fn new(room_id: &RoomId) -> Self
pub fn new(room_id: &RoomId) -> Self
Create a new KnockedRoomBuilder for the given room ID.
If the room ID is DEFAULT_TEST_ROOM_ID,
KnockedRoomBuilder::default() can be used instead.
Sourcepub fn room_id(&self) -> &RoomId
pub fn room_id(&self) -> &RoomId
Get the room ID of this KnockedRoomBuilder.
Sourcepub fn add_state_event(self, event: StrippedStateTestEvent) -> Self
pub fn add_state_event(self, event: StrippedStateTestEvent) -> Self
Add an event to the state.
Sourcepub fn add_state_bulk<I>(self, events: I) -> Self
pub fn add_state_bulk<I>(self, events: I) -> Self
Add events to the state in bulk.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KnockedRoomBuilder
impl RefUnwindSafe for KnockedRoomBuilder
impl Send for KnockedRoomBuilder
impl Sync for KnockedRoomBuilder
impl Unpin for KnockedRoomBuilder
impl UnwindSafe for KnockedRoomBuilder
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<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more