pub enum ClientRole {
Caller,
Callee,
Publisher,
Subscriber,
}Expand description
All roles a client can be
Variants§
Caller
Client can call RPC endpoints
Callee
Client can register RPC endpoints
Publisher
Client can publish events to topics
Subscriber
Client can register for events on topics
Implementations§
Trait Implementations§
Source§impl Clone for ClientRole
impl Clone for ClientRole
Source§fn clone(&self) -> ClientRole
fn clone(&self) -> ClientRole
Returns a duplicate 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 ClientRole
impl Debug for ClientRole
Source§impl Hash for ClientRole
impl Hash for ClientRole
Source§impl PartialEq for ClientRole
impl PartialEq for ClientRole
impl Eq for ClientRole
impl StructuralPartialEq for ClientRole
Auto Trait Implementations§
impl Freeze for ClientRole
impl RefUnwindSafe for ClientRole
impl Send for ClientRole
impl Sync for ClientRole
impl Unpin for ClientRole
impl UnwindSafe for ClientRole
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