pub struct ExplorerConnectOptions {
pub hooks: Option<Arc<dyn Hooks>>,
pub server: Option<String>,
}Expand description
The opts argument of ExplorerRoom::connect. server defaults to me,
the caller’s own explorer.
Fields§
§hooks: Option<Arc<dyn Hooks>>§server: Option<String>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ExplorerConnectOptions
impl !UnwindSafe for ExplorerConnectOptions
impl Forget for ExplorerConnectOptions
impl Freeze for ExplorerConnectOptions
impl Move for ExplorerConnectOptions
impl Send for ExplorerConnectOptions
impl Sync for ExplorerConnectOptions
impl Unpin for ExplorerConnectOptions
impl UnsafeUnpin for ExplorerConnectOptionswhere
*const ArcInner<dyn Hooks> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Hooks>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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