pub struct BadBlock2Option;
Expand description
Error that occurs when constructing a Block2RequestData
from a message or an option.
It is singular and contains no details (for there is no usable action from them), but usually stems from either the option being repeated or having an excessively large value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BadBlock2Option
impl RefUnwindSafe for BadBlock2Option
impl Send for BadBlock2Option
impl Sync for BadBlock2Option
impl Unpin for BadBlock2Option
impl UnwindSafe for BadBlock2Option
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes