[−][src]Enum nt::EntryType
Variants
Methods
impl EntryType
[src]
pub fn write_value(
self,
value: &EntryValue,
buf: &mut BytesMut
) -> Result<(), Error>
[src]
self,
value: &EntryValue,
buf: &mut BytesMut
) -> Result<(), Error>
pub fn read_value(self, buf: &mut dyn Buf) -> Result<(EntryValue, usize), Error>
[src]
Trait Implementations
impl Clone for EntryType
[src]
impl Copy for EntryType
[src]
impl Debug for EntryType
[src]
impl Eq for EntryType
[src]
impl Packet for EntryType
[src]
fn serialize(&self, buf: &mut BytesMut) -> Result<(), Error>
[src]
fn deserialize(buf: &mut dyn Buf) -> Result<(EntryType, usize), Error> where
EntryType: Sized,
[src]
EntryType: Sized,
impl PartialEq<EntryType> for EntryType
[src]
impl StructuralEq for EntryType
[src]
impl StructuralPartialEq for EntryType
[src]
Auto Trait Implementations
impl RefUnwindSafe for EntryType
impl Send for EntryType
impl Sync for EntryType
impl Unpin for EntryType
impl UnwindSafe for EntryType
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,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,