Struct hadoop_common::ipc::Invoker
source · pub struct Invoker<T: RpcProtocol> { /* private fields */ }
Implementations§
source§impl<T: RpcProtocol> Invoker<T>
impl<T: RpcProtocol> Invoker<T>
pub fn from_socket_addr( addr: &SocketAddr, ticket: &UserGroupInformation, conf: &Configuration, rpc_timeout: i32, connection_retry_policy: Option<Rc<dyn RetryPolicy>>, fallback_to_simple_auth: Option<Arc<Atomic<bool>>>, alignment_context: Option<Rc<dyn AlignmentContext>> ) -> Result<Self>
sourcepub fn from_connection_id(
conn_id: Rc<ConnectionId>,
conf: &Configuration,
fallback_to_simple_auth: Option<Arc<Atomic<bool>>>,
alignment_context: Option<Rc<dyn AlignmentContext>>
) -> Result<Self>
pub fn from_connection_id( conn_id: Rc<ConnectionId>, conf: &Configuration, fallback_to_simple_auth: Option<Arc<Atomic<bool>>>, alignment_context: Option<Rc<dyn AlignmentContext>> ) -> Result<Self>
This constructor takes a connection_id, instead of creating a new one.
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Invoker<T>
impl<T> !Send for Invoker<T>
impl<T> !Sync for Invoker<T>
impl<T> Unpin for Invoker<T>where T: Unpin,
impl<T> !UnwindSafe for Invoker<T>
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