Lines Matching refs:Handle
29 use crate::{ConnectResult, Deserialize, Handle, MessageResult, Result, TipcError};
132 handle: Handle,
171 pub fn handle(&self) -> &Handle { in handle() argument
220 handle: Handle::from_raw(rc as i32)?, in try_new_port()
226 fn try_new_connection(handle: Handle, data: D::Connection) -> Result<Rc<Self>> { in try_new_connection() argument
386 handle: &Handle, in on_connect() argument
400 handle: &Handle, in on_message() argument
420 handle: &Handle, in on_connect() argument
437 handle: &Handle, in on_message() argument
456 handle: &Handle, in on_connect() argument
465 handle: &Handle, in on_message() argument
468 let mut handles: [Option<Handle>; MAX_MSG_HANDLES] = Default::default(); in on_message()
546 handle: &$crate::Handle,
555 handle: &$crate::Handle,
574 handle: &$crate::Handle,
583 handle: &$crate::Handle,
612 handle: &Handle, in on_connect() argument
626 handle: &Handle, in on_message() argument
660 handle: &Handle, in on_connect() argument
669 handle: &Handle, in on_message() argument
672 let mut handles: [Option<Handle>; MAX_MSG_HANDLES] = Default::default(); in on_message()
713 handle: &Handle, in on_connect() argument
722 handle: &Handle, in on_message() argument
841 handle: &$crate::Handle,
859 handle: &$crate::Handle,
1157 fn handle_connect(&mut self, handle: &Handle, cfg: &PortCfg) -> Result<()> { in handle_connect() argument
1163 let connection_handle = Handle::from_raw(rc)?; in handle_connect()
1179 fn handle_message(&mut self, handle: &Handle, data: &D::Connection) -> Result<MessageResult> { in handle_message() argument
1183 fn handle_disconnect(&mut self, _handle: &Handle, data: &D::Connection) { in handle_disconnect() argument
1193 ConnectResult, Deserialize, Handle, Manager, MessageResult, Result, Serialize, Serializer,
1222 _handle: &Handle, in on_connect() argument
1231 _handle: &Handle, in on_message() argument
1378 _handles: &mut [Option<Handle>], in deserialize() argument
1393 _handle: &Handle, in on_connect() argument
1402 handle: &Handle, in on_message() argument
1419 _handle: &Handle, in on_connect() argument
1428 handle: &Handle, in on_message() argument
1444 _handle: &Handle, in on_connect() argument
1453 handle: &Handle, in on_message() argument
1536 _handle: &Handle, in on_connect() argument
1545 handle: &Handle, in on_message() argument
1564 _handle: &Handle, in on_connect() argument
1573 handle: &Handle, in on_message() argument