pub struct FollowProduction {
pub file: StagedFile,
pub offset: u64,
}Fields§
§file: StagedFile§offset: u64Trait Implementations§
Source§impl Clone for FollowProduction
impl Clone for FollowProduction
Source§fn clone(&self) -> FollowProduction
fn clone(&self) -> FollowProduction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Contains<FollowProduction> for Operations
Source§impl Debug for FollowProduction
impl Debug for FollowProduction
Source§impl Described for FollowProduction
impl Described for FollowProduction
impl Eq for FollowProduction
Source§impl MemorySize for FollowProduction
impl MemorySize for FollowProduction
fn memory_size(&self) -> usize
Source§const INLINE_ONLY: bool = false
const INLINE_ONLY: bool = false
True only when every value occupies exactly
size_of::<Self>() bytes,
with no separately owned allocations or additional accounting charge.Source§impl OperationDeclaration for FollowProduction
impl OperationDeclaration for FollowProduction
const ID: &'static str = "storage.follow_production"
const VERSION: u32 = 1
const POLICY: OperationPolicy = IO_POLICY
const VISIBILITY: Visibility = Visibility::Shared
const REPLAY: ReplaySafety = ReplaySafety::Unknown
const GRPC: Option<Grpc>
type Response = FileProgress
type Input = NoStream
type Output = Stream<FileBatch>
fn grant(&self) -> Option<Grant>
const DESCRIPTION: &'static str = ""
fn key(&self) -> Option<CacheKey>
Source§impl PartialEq for FollowProduction
impl PartialEq for FollowProduction
impl StructuralPartialEq for FollowProduction
Source§impl Value for FollowProduction
impl Value for FollowProduction
fn write(&self, bytes: &mut Vec<u8>)
fn size(&self) -> usize
fn memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn read(input: &mut Reader<'_>) -> Result<FollowProduction, MessageError>
fn size_many(values: &[Self]) -> usize
fn write_many(values: &[Self], bytes: &mut Vec<u8>)
fn memory_many( input: &mut Reader<'_>, count: usize, ) -> Result<usize, MessageError>
fn read_many( input: &mut Reader<'_>, count: usize, ) -> Result<Vec<Self>, MessageError>
Auto Trait Implementations§
impl Freeze for FollowProduction
impl RefUnwindSafe for FollowProduction
impl Send for FollowProduction
impl Sync for FollowProduction
impl Unpin for FollowProduction
impl UnsafeUnpin for FollowProduction
impl UnwindSafe for FollowProduction
Blanket Implementations§
impl<T> Allocation for T
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