Enum ruma_common::directory::RoomNetwork [−][src]
pub enum RoomNetwork<'a> {
Matrix,
All,
ThirdParty(&'a str),
}Expand description
Information about which networks/protocols from application services on the homeserver from which to request rooms.
Variants
Return rooms from the Matrix network.
Return rooms from all the networks/protocols the homeserver knows about.
ThirdParty(&'a str)Return rooms from a specific third party network/protocol.
Trait Implementations
type Incoming = IncomingRoomNetwork
type Incoming = IncomingRoomNetworkThe ‘Incoming’ variant of Self.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl<'a> RefUnwindSafe for RoomNetwork<'a>impl<'a> Send for RoomNetwork<'a>impl<'a> Sync for RoomNetwork<'a>impl<'a> Unpin for RoomNetwork<'a>impl<'a> UnwindSafe for RoomNetwork<'a>Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more