[−]Enum matrix_sdk_common::directory::RoomNetwork
Information about which networks/protocols from application services on the homeserver from which to request rooms.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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
impl<'a> Clone for RoomNetwork<'a>
pub fn clone(&self) -> RoomNetwork<'a>
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'a> Debug for RoomNetwork<'a>
impl<'a> Default for RoomNetwork<'a>
pub fn default() -> RoomNetwork<'a>
impl<'a> Eq for RoomNetwork<'a>
impl<'a> Outgoing for RoomNetwork<'a>
type Incoming = IncomingRoomNetwork
The 'Incoming' variant of Self.
impl<'a> PartialEq<RoomNetwork<'a>> for RoomNetwork<'a>
pub fn eq(&self, other: &RoomNetwork<'a>) -> bool
pub fn ne(&self, other: &RoomNetwork<'a>) -> bool
impl<'a> Serialize for RoomNetwork<'a>
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl<'a> StructuralEq for RoomNetwork<'a>
impl<'a> StructuralPartialEq for RoomNetwork<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for RoomNetwork<'a>[src]
impl<'a> Send for RoomNetwork<'a>[src]
impl<'a> Sync for RoomNetwork<'a>[src]
impl<'a> Unpin for RoomNetwork<'a>[src]
impl<'a> UnwindSafe for RoomNetwork<'a>[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> AsyncTraitDeps for T where
T: Send + Sync + Debug, [src]
T: Send + Sync + Debug,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,