pub struct NotValidated { /* private fields */ }Available on crate feature
client only.Expand description
The data of a ChecksumEventKind::NotValidated event.
Implementations§
Source§impl NotValidated
impl NotValidated
Sourcepub fn new(reason: ChecksumSkip) -> Self
pub fn new(reason: ChecksumSkip) -> Self
Creates the data for a response that will not be validated because of reason.
Sourcepub fn reason(&self) -> ChecksumSkip
pub fn reason(&self) -> ChecksumSkip
Why the response will not be validated.
Trait Implementations§
Source§impl Clone for NotValidated
impl Clone for NotValidated
Source§impl Debug for NotValidated
impl Debug for NotValidated
impl Eq for NotValidated
Source§impl PartialEq for NotValidated
impl PartialEq for NotValidated
impl StructuralPartialEq for NotValidated
Auto Trait Implementations§
impl Forget for NotValidated
impl Freeze for NotValidated
impl RefUnwindSafe for NotValidated
impl Send for NotValidated
impl Sync for NotValidated
impl Unpin for NotValidated
impl UnsafeUnpin for NotValidated
impl UnwindSafe for NotValidated
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.