pub enum RelayListUsage {
Inbox,
Outbox,
Both,
}
Expand description
Relay Usage
Variants§
Inbox
The relay is used as an inbox (called ‘read’ in kind-10002)
Outbox
The relay is used as an outbox (called ‘write’ in kind-10002)
Both
The relay is used both as an inbox and an outbox
Implementations§
Trait Implementations§
source§impl Clone for RelayListUsage
impl Clone for RelayListUsage
source§fn clone(&self) -> RelayListUsage
fn clone(&self) -> RelayListUsage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RelayListUsage
impl Debug for RelayListUsage
source§impl Default for RelayListUsage
impl Default for RelayListUsage
source§fn default() -> RelayListUsage
fn default() -> RelayListUsage
Returns the “default value” for a type. Read more
source§impl PartialEq for RelayListUsage
impl PartialEq for RelayListUsage
impl Copy for RelayListUsage
impl Eq for RelayListUsage
impl StructuralPartialEq for RelayListUsage
Auto Trait Implementations§
impl Freeze for RelayListUsage
impl RefUnwindSafe for RelayListUsage
impl Send for RelayListUsage
impl Sync for RelayListUsage
impl Unpin for RelayListUsage
impl UnwindSafe for RelayListUsage
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)