Struct rkyv::with::AsString [−][src]
pub struct AsString;
Expand description
A wrapper that attempts to convert a path to and from UTF-8.
Trait Implementations
type Archived = ArchivedString
type Archived = ArchivedString
The archived type of a With<F, Self>
.
type Resolver = StringResolver
type Resolver = StringResolver
The resolver of a With<F, Self>
.
type Archived = ArchivedString
type Archived = ArchivedString
The archived type of a With<F, Self>
.
type Resolver = StringResolver
type Resolver = StringResolver
The resolver of a With<F, Self>
.
Deserializes the field type F
using the given deserializer.
Deserializes the field type F
using the given deserializer.
impl<S: Fallible + ?Sized> SerializeWith<OsString, S> for AsString where
S::Error: From<AsStringError>,
str: SerializeUnsized<S>,
impl<S: Fallible + ?Sized> SerializeWith<OsString, S> for AsString where
S::Error: From<AsStringError>,
str: SerializeUnsized<S>,
impl<S: Fallible + ?Sized> SerializeWith<PathBuf, S> for AsString where
S::Error: From<AsStringError>,
str: SerializeUnsized<S>,
impl<S: Fallible + ?Sized> SerializeWith<PathBuf, S> for AsString where
S::Error: From<AsStringError>,
str: SerializeUnsized<S>,
Auto Trait Implementations
impl RefUnwindSafe for AsString
impl UnwindSafe for AsString
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
D: Fallible + ?Sized,
F: ?Sized,
W: DeserializeWith<F, T, D>,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
D: Fallible + ?Sized,
F: ?Sized,
W: DeserializeWith<F, T, D>,