Struct kvproto::import_sstpb::SstMeta [−][src]
Fields
uuid: Vec<u8>
range: SingularPtrField<Range>
crc32: u32
length: u64
cf_name: String
region_id: u64
region_epoch: SingularPtrField<RegionEpoch>
end_key_exclusive: bool
total_kvs: u64
total_bytes: u64
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
impl SstMeta
[src]
pub fn new() -> SstMeta
[src]
pub fn get_uuid(&self) -> &[u8]
[src]
pub fn clear_uuid(&mut self)
[src]
pub fn set_uuid(&mut self, v: Vec<u8>)
[src]
pub fn mut_uuid(&mut self) -> &mut Vec<u8>
[src]
pub fn take_uuid(&mut self) -> Vec<u8>
[src]
pub fn get_range(&self) -> &Range
[src]
pub fn clear_range(&mut self)
[src]
pub fn has_range(&self) -> bool
[src]
pub fn set_range(&mut self, v: Range)
[src]
pub fn mut_range(&mut self) -> &mut Range
[src]
pub fn take_range(&mut self) -> Range
[src]
pub fn get_crc32(&self) -> u32
[src]
pub fn clear_crc32(&mut self)
[src]
pub fn set_crc32(&mut self, v: u32)
[src]
pub fn get_length(&self) -> u64
[src]
pub fn clear_length(&mut self)
[src]
pub fn set_length(&mut self, v: u64)
[src]
pub fn get_cf_name(&self) -> &str
[src]
pub fn clear_cf_name(&mut self)
[src]
pub fn set_cf_name(&mut self, v: String)
[src]
pub fn mut_cf_name(&mut self) -> &mut String
[src]
pub fn take_cf_name(&mut self) -> String
[src]
pub fn get_region_id(&self) -> u64
[src]
pub fn clear_region_id(&mut self)
[src]
pub fn set_region_id(&mut self, v: u64)
[src]
pub fn get_region_epoch(&self) -> &RegionEpoch
[src]
pub fn clear_region_epoch(&mut self)
[src]
pub fn has_region_epoch(&self) -> bool
[src]
pub fn set_region_epoch(&mut self, v: RegionEpoch)
[src]
pub fn mut_region_epoch(&mut self) -> &mut RegionEpoch
[src]
pub fn take_region_epoch(&mut self) -> RegionEpoch
[src]
pub fn get_end_key_exclusive(&self) -> bool
[src]
pub fn clear_end_key_exclusive(&mut self)
[src]
pub fn set_end_key_exclusive(&mut self, v: bool)
[src]
pub fn get_total_kvs(&self) -> u64
[src]
pub fn clear_total_kvs(&mut self)
[src]
pub fn set_total_kvs(&mut self, v: u64)
[src]
pub fn get_total_bytes(&self) -> u64
[src]
pub fn clear_total_bytes(&mut self)
[src]
pub fn set_total_bytes(&mut self, v: u64)
[src]
Trait Implementations
impl Clear for SstMeta
[src]
impl Clone for SstMeta
[src]
impl Debug for SstMeta
[src]
impl Default for SstMeta
[src]
impl<'a> Default for &'a SstMeta
[src]
impl Message for SstMeta
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &dyn Any
[src]
fn as_any_mut(&mut self) -> &mut dyn Any
[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn new() -> SstMeta
[src]
fn default_instance() -> &'static SstMeta
[src]
pub fn write_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
pub fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
pub fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
pub fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
[src]
pub fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
[src]
pub fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
[src]
pub fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
pub fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
[src]
&self
) -> Result<Vec<u8, Global>, ProtobufError>
pub fn type_id(&self) -> TypeId
[src]
pub fn descriptor_static() -> &'static MessageDescriptor
[src]
impl PartialEq<SstMeta> for SstMeta
[src]
impl PbPrint for SstMeta
[src]
impl ProtobufValue for SstMeta
[src]
fn as_ref(&self) -> ProtobufValueRef<'_>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn is_non_zero(&self) -> bool
[src]
pub fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]
impl StructuralPartialEq for SstMeta
[src]
Auto Trait Implementations
impl RefUnwindSafe for SstMeta
impl Send for SstMeta
impl Sync for SstMeta
impl Unpin for SstMeta
impl UnwindSafe for SstMeta
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,