pub enum FollowStart {
Beginning,
End,
At(u64),
}Variants§
Trait Implementations§
Source§impl Clone for FollowStart
impl Clone for FollowStart
Source§fn clone(&self) -> FollowStart
fn clone(&self) -> FollowStart
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 Copy for FollowStart
Source§impl Debug for FollowStart
impl Debug for FollowStart
Source§impl Described for FollowStart
impl Described for FollowStart
impl Eq for FollowStart
Source§impl MemorySize for FollowStart
impl MemorySize for FollowStart
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 PartialEq for FollowStart
impl PartialEq for FollowStart
impl StructuralPartialEq for FollowStart
Source§impl Value for FollowStart
impl Value for FollowStart
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<FollowStart, 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 FollowStart
impl RefUnwindSafe for FollowStart
impl Send for FollowStart
impl Sync for FollowStart
impl Unpin for FollowStart
impl UnsafeUnpin for FollowStart
impl UnwindSafe for FollowStart
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