pub enum TlpError {
InvalidFormat,
InvalidType,
UnsupportedCombination,
}Expand description
Errors that can occur when parsing TLP packets
Variants§
InvalidFormat
Invalid format field value (bits don’t match any known format)
InvalidType
Invalid type field value (bits don’t match any known type encoding)
UnsupportedCombination
Unsupported combination of format and type
Trait Implementations§
impl StructuralPartialEq for TlpError
Auto Trait Implementations§
impl Freeze for TlpError
impl RefUnwindSafe for TlpError
impl Send for TlpError
impl Sync for TlpError
impl Unpin for TlpError
impl UnsafeUnpin for TlpError
impl UnwindSafe for TlpError
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