Enum ruma::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
Returns the “default value” for a type. Read more
type Incoming = IncomingRoomNetwork
type Incoming = IncomingRoomNetwork
The ‘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 !=
.
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more