pub struct ProtoUtil;
Implementations§
Source§impl ProtoUtil
impl ProtoUtil
pub fn make_ipc_connection_context( protocol: Option<&str>, ugi: Option<&UserGroupInformation>, auth_method: &str, ) -> IpcConnectionContextProto
pub fn convert<S, T: From<S>>(value: S) -> T
pub fn make_rpc_request_header( rpc_kind: &RpcKind, operation: OperationProto, call_id: i32, retry_count: i32, uuid: &[u8; 16], alignment_context: Option<Rc<dyn AlignmentContext>>, ) -> RpcRequestHeaderProto
Auto Trait Implementations§
impl Freeze for ProtoUtil
impl RefUnwindSafe for ProtoUtil
impl Send for ProtoUtil
impl Sync for ProtoUtil
impl Unpin for ProtoUtil
impl UnwindSafe for ProtoUtil
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