pub enum WireConvertError {
CapHasRef,
PagedData,
CNodeMissingSlot,
}Expand description
Failures the wire-form conversion can produce. All non-fatal: they indicate the cap shape isn’t supported on the V0 RPC path.
Variants§
CapHasRef
A Cap field held a CapHashOrRef::Ref(_) target. The
receiver has no way to resolve refs in its own CapRef
namespace, so refs are rejected.
PagedData
A Cap::Data carried a DataContent::Paged body. V0 doesn’t
serialise paged data.
CNodeMissingSlot
A Cap::CNode carried a MissingOr::Missing(_) placeholder.
The wire form only carries materialized slot entries.
Trait Implementations§
Source§impl Clone for WireConvertError
impl Clone for WireConvertError
Source§fn clone(&self) -> WireConvertError
fn clone(&self) -> WireConvertError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WireConvertError
impl Debug for WireConvertError
Source§impl Display for WireConvertError
Convenience: pretty-print a WireConvertError without depending
on thiserror (so this module stays usable in no_std contexts
that don’t pull in the error infra).
impl Display for WireConvertError
Convenience: pretty-print a WireConvertError without depending
on thiserror (so this module stays usable in no_std contexts
that don’t pull in the error infra).
Source§impl Error for WireConvertError
Available on crate feature std only.
impl Error for WireConvertError
Available on crate feature
std only.1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for WireConvertError
impl PartialEq for WireConvertError
impl Copy for WireConvertError
impl Eq for WireConvertError
impl StructuralPartialEq for WireConvertError
Auto Trait Implementations§
impl Freeze for WireConvertError
impl RefUnwindSafe for WireConvertError
impl Send for WireConvertError
impl Sync for WireConvertError
impl Unpin for WireConvertError
impl UnsafeUnpin for WireConvertError
impl UnwindSafe for WireConvertError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§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.