pub struct FutuFrame {
pub header: FutuHeader,
pub body: Bytes,
}Expand description
Stable API — FutuOpenD 协议帧(帧头 + body)。
44 字节 FutuHeader + 变长 [bytes::Bytes] body。SHA1 基于 body 明文
在 FutuFrame::new 中自动计算。加密在更上层(futu-net)完成。
Fields§
§header: FutuHeader§body: BytesImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FutuFrame
impl RefUnwindSafe for FutuFrame
impl Send for FutuFrame
impl Sync for FutuFrame
impl Unpin for FutuFrame
impl UnsafeUnpin for FutuFrame
impl UnwindSafe for FutuFrame
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