#[repr(C)]pub struct BlockLocation {
pub rangeId: u32,
pub replicaGroupId: u32,
pub corrupt: c_int,
pub numOfNodes: c_int,
pub hosts: *mut *mut c_char,
pub names: *mut *mut c_char,
pub topologyPaths: *mut *mut c_char,
pub length: tOffset,
pub offset: tOffset,
}
Fields§
§rangeId: u32
§replicaGroupId: u32
§corrupt: c_int
§numOfNodes: c_int
§hosts: *mut *mut c_char
§names: *mut *mut c_char
§topologyPaths: *mut *mut c_char
§length: tOffset
§offset: tOffset
Trait Implementations§
Source§impl Clone for BlockLocation
impl Clone for BlockLocation
Source§fn clone(&self) -> BlockLocation
fn clone(&self) -> BlockLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlockLocation
impl Debug for BlockLocation
impl Copy for BlockLocation
Auto Trait Implementations§
impl Freeze for BlockLocation
impl RefUnwindSafe for BlockLocation
impl !Send for BlockLocation
impl !Sync for BlockLocation
impl Unpin for BlockLocation
impl UnwindSafe for BlockLocation
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