#[repr(C)]pub struct ArchivedShapeRequestRef<'a>where
InlineAsBox: ArchiveWith<&'a str> + ArchiveWith<&'a [HeaderRef<'a>]> + ArchiveWith<&'a [u8]>,
Option<QueryRef<'a>>: Archive,
PrincipalRef<'a>: Archive,
UpstreamRef<'a>: Archive,{
pub request_id: <InlineAsBox as ArchiveWith<&'a str>>::Archived,
pub method: <InlineAsBox as ArchiveWith<&'a str>>::Archived,
pub path: <InlineAsBox as ArchiveWith<&'a str>>::Archived,
pub query: <Option<QueryRef<'a>> as Archive>::Archived,
pub headers: <InlineAsBox as ArchiveWith<&'a [HeaderRef<'a>]>>::Archived,
pub body: <InlineAsBox as ArchiveWith<&'a [u8]>>::Archived,
pub principal: <PrincipalRef<'a> as Archive>::Archived,
pub upstream: <UpstreamRef<'a> as Archive>::Archived,
}Expand description
An archived ShapeRequestRef
Fields§
§request_id: <InlineAsBox as ArchiveWith<&'a str>>::ArchivedThe archived counterpart of ShapeRequestRef::request_id
method: <InlineAsBox as ArchiveWith<&'a str>>::ArchivedThe archived counterpart of ShapeRequestRef::method
path: <InlineAsBox as ArchiveWith<&'a str>>::ArchivedThe archived counterpart of ShapeRequestRef::path
query: <Option<QueryRef<'a>> as Archive>::ArchivedThe archived counterpart of ShapeRequestRef::query
headers: <InlineAsBox as ArchiveWith<&'a [HeaderRef<'a>]>>::ArchivedThe archived counterpart of ShapeRequestRef::headers
body: <InlineAsBox as ArchiveWith<&'a [u8]>>::ArchivedThe archived counterpart of ShapeRequestRef::body
principal: <PrincipalRef<'a> as Archive>::ArchivedThe archived counterpart of ShapeRequestRef::principal
upstream: <UpstreamRef<'a> as Archive>::ArchivedThe archived counterpart of ShapeRequestRef::upstream
Trait Implementations§
Source§impl<'a, __C: Fallible + ?Sized> CheckBytes<__C> for ArchivedShapeRequestRef<'a>where
InlineAsBox: ArchiveWith<&'a str> + ArchiveWith<&'a [HeaderRef<'a>]> + ArchiveWith<&'a [u8]>,
Option<QueryRef<'a>>: Archive,
PrincipalRef<'a>: Archive,
UpstreamRef<'a>: Archive,
<__C as Fallible>::Error: Trace,
<InlineAsBox as ArchiveWith<&'a str>>::Archived: CheckBytes<__C>,
<Option<QueryRef<'a>> as Archive>::Archived: CheckBytes<__C>,
<InlineAsBox as ArchiveWith<&'a [HeaderRef<'a>]>>::Archived: CheckBytes<__C>,
<InlineAsBox as ArchiveWith<&'a [u8]>>::Archived: CheckBytes<__C>,
<PrincipalRef<'a> as Archive>::Archived: CheckBytes<__C>,
<UpstreamRef<'a> as Archive>::Archived: CheckBytes<__C>,
impl<'a, __C: Fallible + ?Sized> CheckBytes<__C> for ArchivedShapeRequestRef<'a>where
InlineAsBox: ArchiveWith<&'a str> + ArchiveWith<&'a [HeaderRef<'a>]> + ArchiveWith<&'a [u8]>,
Option<QueryRef<'a>>: Archive,
PrincipalRef<'a>: Archive,
UpstreamRef<'a>: Archive,
<__C as Fallible>::Error: Trace,
<InlineAsBox as ArchiveWith<&'a str>>::Archived: CheckBytes<__C>,
<Option<QueryRef<'a>> as Archive>::Archived: CheckBytes<__C>,
<InlineAsBox as ArchiveWith<&'a [HeaderRef<'a>]>>::Archived: CheckBytes<__C>,
<InlineAsBox as ArchiveWith<&'a [u8]>>::Archived: CheckBytes<__C>,
<PrincipalRef<'a> as Archive>::Archived: CheckBytes<__C>,
<UpstreamRef<'a> as Archive>::Archived: CheckBytes<__C>,
impl<'a> Portable for ArchivedShapeRequestRef<'a>where
InlineAsBox: ArchiveWith<&'a str> + ArchiveWith<&'a [HeaderRef<'a>]> + ArchiveWith<&'a [u8]>,
Option<QueryRef<'a>>: Archive,
PrincipalRef<'a>: Archive,
UpstreamRef<'a>: Archive,
<InlineAsBox as ArchiveWith<&'a str>>::Archived: Portable,
<Option<QueryRef<'a>> as Archive>::Archived: Portable,
<InlineAsBox as ArchiveWith<&'a [HeaderRef<'a>]>>::Archived: Portable,
<InlineAsBox as ArchiveWith<&'a [u8]>>::Archived: Portable,
<PrincipalRef<'a> as Archive>::Archived: Portable,
<UpstreamRef<'a> as Archive>::Archived: Portable,
Auto Trait Implementations§
impl<'a> !Freeze for ArchivedShapeRequestRef<'a>
impl<'a> !RefUnwindSafe for ArchivedShapeRequestRef<'a>
impl<'a> !Send for ArchivedShapeRequestRef<'a>
impl<'a> !Sync for ArchivedShapeRequestRef<'a>
impl<'a> !Unpin for ArchivedShapeRequestRef<'a>
impl<'a> !UnsafeUnpin for ArchivedShapeRequestRef<'a>
impl<'a> !UnwindSafe for ArchivedShapeRequestRef<'a>
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.