Struct ockam_multiaddr::ProtoValue
source · [−]pub struct ProtoValue<'a> { /* private fields */ }
Expand description
Protocol value bytes.
Implementations
sourceimpl<'a> ProtoValue<'a>
impl<'a> ProtoValue<'a>
sourcepub fn to_owned<'b>(&self) -> ProtoValue<'b>
pub fn to_owned<'b>(&self) -> ProtoValue<'b>
Clone an owned value of this type.
Trait Implementations
sourceimpl<'a> AsRef<[u8]> for ProtoValue<'a>
impl<'a> AsRef<[u8]> for ProtoValue<'a>
sourceimpl<'a> Clone for ProtoValue<'a>
impl<'a> Clone for ProtoValue<'a>
sourcefn clone(&self) -> ProtoValue<'a>
fn clone(&self) -> ProtoValue<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ProtoValue<'a>
impl<'a> Send for ProtoValue<'a>
impl<'a> Sync for ProtoValue<'a>
impl<'a> Unpin for ProtoValue<'a>
impl<'a> UnwindSafe for ProtoValue<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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