pub struct LocalPath;Trait Implementations§
Source§impl Value for LocalPath
impl Value for LocalPath
const NAME: &'static str = "harmos_domain::model::storage::files::codec::LocalPath"
const KIND: Kind<Definition> = Kind::Bytes
type Native = PathBuf
fn postcard_write(value: &PathBuf, bytes: &mut Vec<u8>)
fn postcard_size(value: &PathBuf) -> usize
fn postcard_memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn postcard_read(input: &mut Reader<'_>) -> Result<PathBuf, MessageError>
const CARDINALITY: Cardinality = Cardinality::Required
Auto Trait Implementations§
impl Freeze for LocalPath
impl RefUnwindSafe for LocalPath
impl Send for LocalPath
impl Sync for LocalPath
impl Unpin for LocalPath
impl UnsafeUnpin for LocalPath
impl UnwindSafe for LocalPath
Blanket Implementations§
impl<T> Allocation for T
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