pub enum RoomIdStrategy {
Implicit,
Explicit,
Generator(Box<dyn RoomIdGeneratorFactory + Send + Sync>),
}Expand description
Determines how new rooms are assigned an id.
Rooms are created when they are first accessed.
Rooms are created with an explicit API call that provides an ID.
Room IDs are created by an endpoint, which returns an ID
generated by the provided generator.
Tuple Fields of Generator
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the current Span, returning an
Instrumented wrapper. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,