pub struct ConnectionApproval {
pub addr: SocketAddr,
pub send_addr: SocketAddr,
}Fields§
§addr: SocketAddr§send_addr: SocketAddrTrait Implementations§
Source§impl Handler<ConnectionApproval> for Cluster
impl Handler<ConnectionApproval> for Cluster
Source§type Result = ConnectionApprovalResponse
type Result = ConnectionApprovalResponse
The type of value that this handler will return. Read more
Source§fn handle(
&mut self,
msg: ConnectionApproval,
_ctx: &mut Self::Context,
) -> ConnectionApprovalResponse
fn handle( &mut self, msg: ConnectionApproval, _ctx: &mut Self::Context, ) -> ConnectionApprovalResponse
This method is called for every message received by this actor.
Source§impl Message for ConnectionApproval
impl Message for ConnectionApproval
Source§type Result = ConnectionApprovalResponse
type Result = ConnectionApprovalResponse
The type of value that this message will resolved with if it is
successful.
Auto Trait Implementations§
impl Freeze for ConnectionApproval
impl RefUnwindSafe for ConnectionApproval
impl Send for ConnectionApproval
impl Sync for ConnectionApproval
impl Unpin for ConnectionApproval
impl UnsafeUnpin for ConnectionApproval
impl UnwindSafe for ConnectionApproval
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