pub struct ResultI64Str {
pub tag: u8,
pub _pad: [u8; 7],
/* private fields */
}Expand description
Result<i64, *const StringObj> — Ok is i64, Err is string pointer.
§Memory layout (16 bytes)
Offset Size Field
------ ---- -----
0 1 tag (0=Ok, 1=Err)
1 7 _pad
8 8 payload (i64 or *const StringObj)Fields§
§tag: u8§_pad: [u8; 7]Implementations§
Auto Trait Implementations§
impl Freeze for ResultI64Str
impl RefUnwindSafe for ResultI64Str
impl Send for ResultI64Str
impl Sync for ResultI64Str
impl Unpin for ResultI64Str
impl UnsafeUnpin for ResultI64Str
impl UnwindSafe for ResultI64Str
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