Struct ractor_cluster::node::NodeServerSessionInformation
source · pub struct NodeServerSessionInformation {
pub actor: ActorRef<NodeSessionMessage>,
pub peer_name: Option<NameMessage>,
pub is_server: bool,
pub node_id: NodeId,
pub peer_addr: String,
}
Expand description
Node session information
Fields§
§actor: ActorRef<NodeSessionMessage>
The NodeSession actor
peer_name: Option<NameMessage>
This peer’s name (if set)
is_server: bool
Is server-incoming connection
node_id: NodeId
The node’s id
peer_addr: String
The peer’s network address
Trait Implementations§
source§impl Clone for NodeServerSessionInformation
impl Clone for NodeServerSessionInformation
source§fn clone(&self) -> NodeServerSessionInformation
fn clone(&self) -> NodeServerSessionInformation
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 moreAuto Trait Implementations§
impl Freeze for NodeServerSessionInformation
impl !RefUnwindSafe for NodeServerSessionInformation
impl Send for NodeServerSessionInformation
impl Sync for NodeServerSessionInformation
impl Unpin for NodeServerSessionInformation
impl !UnwindSafe for NodeServerSessionInformation
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