Struct rustls::crypto::cipher::PrefixedPayload
source · pub struct PrefixedPayload(/* private fields */);
Implementations§
source§impl PrefixedPayload
impl PrefixedPayload
pub fn with_capacity(capacity: usize) -> Self
pub fn extend_from_slice(&mut self, slice: &[u8])
pub fn extend_from_chunks(&mut self, chunks: &OutboundChunks<'_>)
pub fn truncate(&mut self, len: usize)
Trait Implementations§
source§impl AsMut<[u8]> for PrefixedPayload
impl AsMut<[u8]> for PrefixedPayload
source§impl AsRef<[u8]> for PrefixedPayload
impl AsRef<[u8]> for PrefixedPayload
source§impl Clone for PrefixedPayload
impl Clone for PrefixedPayload
source§fn clone(&self) -> PrefixedPayload
fn clone(&self) -> PrefixedPayload
Returns a copy 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 PrefixedPayload
impl Debug for PrefixedPayload
source§impl<'a> Extend<&'a u8> for PrefixedPayload
impl<'a> Extend<&'a u8> for PrefixedPayload
source§fn extend<T: IntoIterator<Item = &'a u8>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = &'a u8>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl From<&[u8]> for PrefixedPayload
impl From<&[u8]> for PrefixedPayload
Auto Trait Implementations§
impl Freeze for PrefixedPayload
impl RefUnwindSafe for PrefixedPayload
impl Send for PrefixedPayload
impl Sync for PrefixedPayload
impl Unpin for PrefixedPayload
impl UnwindSafe for PrefixedPayload
Blanket Implementations§
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)