Struct buffer::CapAt [−][src]
The result of a cap_at
call on a buffer.
See its documentation for more info.
Trait Implementations
impl<'data, T: Buffer<'data>> Buffer<'data> for CapAt<'data, T>
[src]
type Intermediate = CapAtBuffer<'data, T::Intermediate>
Intermediate result of converting the T: Buffer
into a BufferRef
.
fn to_to_buffer_ref(self) -> Self::Intermediate
[src]
fn cap_at(self, len: usize) -> CapAt<'data, Self> where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl<'data, T> RefUnwindSafe for CapAt<'data, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'data, T> Send for CapAt<'data, T> where
T: Send,
T: Send,
impl<'data, T> Sync for CapAt<'data, T> where
T: Sync,
T: Sync,
impl<'data, T> Unpin for CapAt<'data, T> where
T: Unpin,
T: Unpin,
impl<'data, T> UnwindSafe for CapAt<'data, T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,