Struct xous_api_ticktimer::api::VersionString
source · [−]pub struct VersionString {
pub version: String<512>,
}Fields
version: String<512>Trait Implementations
sourceimpl Archive for VersionStringwhere
String<512>: Archive,
impl Archive for VersionStringwhere
String<512>: Archive,
type Archived = ArchivedVersionString
type Archived = ArchivedVersionString
The archived version of this type.
type Resolver = VersionStringResolver
type Resolver = VersionStringResolver
The resolver for this type. It must contain all the information needed
to make the archived type from the normal type. Read more
sourceimpl<__D: Fallible + ?Sized> Deserialize<VersionString, __D> for Archived<VersionString>where
String<512>: Archive,
Archived<String<512>>: Deserialize<String<512>, __D>,
impl<__D: Fallible + ?Sized> Deserialize<VersionString, __D> for Archived<VersionString>where
String<512>: Archive,
Archived<String<512>>: Deserialize<String<512>, __D>,
sourcefn deserialize(
&self,
deserializer: &mut __D
) -> Result<VersionString, __D::Error>
fn deserialize(
&self,
deserializer: &mut __D
) -> Result<VersionString, __D::Error>
Deserializes using the given deserializer
Auto Trait Implementations
impl RefUnwindSafe for VersionString
impl Send for VersionString
impl Sync for VersionString
impl Unpin for VersionString
impl UnwindSafe for VersionString
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn 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.
sourceimpl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive, it may be
unsized. Read moretype MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type.
sourcefn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver
) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver
) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
Creates the archived version of the metadata for this value at the given
position. Read more
sourceunsafe fn resolve_unsized(
&self,
from: usize,
to: usize,
resolver: Self::MetadataResolver
) -> RelPtr<Self::Archived>
unsafe fn resolve_unsized(
&self,
from: usize,
to: usize,
resolver: Self::MetadataResolver
) -> RelPtr<Self::Archived>
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, S> SerializeUnsized<S> for Twhere
T: Serialize<S>,
S: Serializer + ?Sized,
impl<T, S> SerializeUnsized<S> for Twhere
T: Serialize<S>,
S: Serializer + ?Sized,
sourcefn serialize_unsized(
&self,
serializer: &mut S
) -> Result<usize, <S as Fallible>::Error>
fn serialize_unsized(
&self,
serializer: &mut S
) -> Result<usize, <S as Fallible>::Error>
Writes the object and returns the position of the archived type.
sourcefn serialize_metadata(
&self,
&mut S
) -> Result<<<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, <S as Fallible>::Error>
fn serialize_metadata(
&self,
&mut S
) -> Result<<<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, <S as Fallible>::Error>
Serializes the metadata for the given type.