#[repr(u8)]pub enum ArchivedServerError{
ClientAlreadyAttached,
SessionMismatch {
expected: <SessionName as Archive>::Archived,
actual: <SessionName as Archive>::Archived,
},
UnexpectedRequest {
request: <Box<ClientRequest> as Archive>::Archived,
},
}Expand description
An archived ServerError
Variants§
ClientAlreadyAttached
The archived counterpart of ServerError::ClientAlreadyAttached
SessionMismatch
The archived counterpart of ServerError::SessionMismatch
Fields
§
expected: <SessionName as Archive>::ArchivedThe archived counterpart of ServerError::SessionMismatch::expected
§
actual: <SessionName as Archive>::ArchivedThe archived counterpart of ServerError::SessionMismatch::actual
UnexpectedRequest
The archived counterpart of ServerError::UnexpectedRequest
Fields
§
request: <Box<ClientRequest> as Archive>::ArchivedThe archived counterpart of ServerError::UnexpectedRequest::request
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedServerErrorwhere
SessionName: Archive,
Box<ClientRequest>: Archive,
<__C as Fallible>::Error: Source,
<SessionName as Archive>::Archived: CheckBytes<__C>,
<Box<ClientRequest> as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedServerErrorwhere
SessionName: Archive,
Box<ClientRequest>: Archive,
<__C as Fallible>::Error: Source,
<SessionName as Archive>::Archived: CheckBytes<__C>,
<Box<ClientRequest> as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedServerErrorwhere
SessionName: Archive,
Box<ClientRequest>: Archive,
<SessionName as Archive>::Archived: Portable,
<Box<ClientRequest> as Archive>::Archived: Portable,
Auto Trait Implementations§
impl !Unpin for ArchivedServerError
impl !UnsafeUnpin for ArchivedServerError
impl Freeze for ArchivedServerError
impl RefUnwindSafe for ArchivedServerError
impl Send for ArchivedServerError
impl Sync for ArchivedServerError
impl UnwindSafe for ArchivedServerError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§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.