pub struct KeyBuffer<T> { /* private fields */ }
Implementations
sourceimpl<T: AsRef<[u8]>> KeyBuffer<T>
impl<T: AsRef<[u8]>> KeyBuffer<T>
pub fn new(buffer: T) -> Self
pub fn into_inner(self) -> T
sourceimpl<'a, T: AsRef<[u8]> + AsMut<[u8]>> KeyBuffer<T>
impl<'a, T: AsRef<[u8]> + AsMut<[u8]>> KeyBuffer<T>
pub fn set_offmask(&mut self, value: i32)
sourceimpl<T: AsRef<[u8]>> KeyBuffer<T>
impl<T: AsRef<[u8]>> KeyBuffer<T>
pub fn new_checked(buffer: T) -> Result<Self, DecodeError>
Trait Implementations
sourceimpl<T: AsRef<[u8]>> Parseable<KeyBuffer<T>> for Key
impl<T: AsRef<[u8]>> Parseable<KeyBuffer<T>> for Key
sourcefn parse(buf: &KeyBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &KeyBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
impl<T: Copy> Copy for KeyBuffer<T>
impl<T: Eq> Eq for KeyBuffer<T>
impl<T> StructuralEq for KeyBuffer<T>
impl<T> StructuralPartialEq for KeyBuffer<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for KeyBuffer<T> where
T: RefUnwindSafe,
impl<T> Send for KeyBuffer<T> where
T: Send,
impl<T> Sync for KeyBuffer<T> where
T: Sync,
impl<T> Unpin for KeyBuffer<T> where
T: Unpin,
impl<T> UnwindSafe for KeyBuffer<T> where
T: UnwindSafe,
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