pub enum InvType {
Error,
Transaction,
Block,
WitnessBlock,
WitnessTransaction,
}
Expand description
The type of an inventory object
Variants§
Error
Error — these inventories can be ignored
Transaction
Transaction
Block
Block
WitnessBlock
Witness Block
WitnessTransaction
Witness Transaction
Trait Implementations§
impl Eq for InvType
impl StructuralPartialEq for InvType
Auto Trait Implementations§
impl Freeze for InvType
impl RefUnwindSafe for InvType
impl Send for InvType
impl Sync for InvType
impl Unpin for InvType
impl UnwindSafe for InvType
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