pub enum BlockFetchKind {
RequestRange,
ClientDone,
StartBatch,
NoBlocks,
Block,
BatchDone,
}
Expand description
Auto-generated discriminant enum variants
Variants§
Trait Implementations§
Source§impl Clone for BlockFetchKind
impl Clone for BlockFetchKind
Source§fn clone(&self) -> BlockFetchKind
fn clone(&self) -> BlockFetchKind
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 BlockFetchKind
impl Debug for BlockFetchKind
Source§impl<'_enum> From<&'_enum BlockFetch> for BlockFetchKind
impl<'_enum> From<&'_enum BlockFetch> for BlockFetchKind
Source§fn from(val: &'_enum BlockFetch) -> BlockFetchKind
fn from(val: &'_enum BlockFetch) -> BlockFetchKind
Converts to this type from the input type.
Source§impl From<BlockFetch> for BlockFetchKind
impl From<BlockFetch> for BlockFetchKind
Source§fn from(val: BlockFetch) -> BlockFetchKind
fn from(val: BlockFetch) -> BlockFetchKind
Converts to this type from the input type.
Source§impl PartialEq for BlockFetchKind
impl PartialEq for BlockFetchKind
impl Copy for BlockFetchKind
impl Eq for BlockFetchKind
impl StructuralPartialEq for BlockFetchKind
Auto Trait Implementations§
impl Freeze for BlockFetchKind
impl RefUnwindSafe for BlockFetchKind
impl Send for BlockFetchKind
impl Sync for BlockFetchKind
impl Unpin for BlockFetchKind
impl UnwindSafe for BlockFetchKind
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