pub struct NormalizeErrorFn;Trait Implementations§
Source§impl WireFunction for NormalizeErrorFn
impl WireFunction for NormalizeErrorFn
Source§const NAME: &'static str = "normalize_error"
const NAME: &'static str = "normalize_error"
Name of the wire function (e.g., “sign”, “observe”).
Source§const FALLBACK: FallbackPolicy = FallbackPolicy::PassThrough
const FALLBACK: FallbackPolicy = FallbackPolicy::PassThrough
Compile-time fallback policy for this function. Must never be runtime-configurable
to prevent security incidents (e.g., skipping signing).
Source§const SUPPORTED_VERSIONS: &'static [u32]
const SUPPORTED_VERSIONS: &'static [u32]
Wire protocol versions this function supports. Host advertises max version,
plugin chooses compatible version during handshake.
Source§type Request = NormalizeErrorRequest
type Request = NormalizeErrorRequest
Request type for this wire function.
Source§type Response = NormalizeErrorResponse
type Response = NormalizeErrorResponse
Response type for this wire function.
Source§fn dry_run_request() -> <NormalizeErrorFn as WireFunction>::Request
fn dry_run_request() -> <NormalizeErrorFn as WireFunction>::Request
Dry-run request for self_check (skip-handler model: serialize/deserialize round-trip only).
Source§fn dry_run_response() -> <NormalizeErrorFn as WireFunction>::Response
fn dry_run_response() -> <NormalizeErrorFn as WireFunction>::Response
Dry-run response for self_check (skip-handler model: serialize/deserialize round-trip only).
Auto Trait Implementations§
impl Freeze for NormalizeErrorFn
impl RefUnwindSafe for NormalizeErrorFn
impl Send for NormalizeErrorFn
impl Sync for NormalizeErrorFn
impl Unpin for NormalizeErrorFn
impl UnsafeUnpin for NormalizeErrorFn
impl UnwindSafe for NormalizeErrorFn
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: Sized + AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: Sized + AsFilelike,
Set the “status” flags for the
self file descriptor. Read moreSource§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 more