Struct LimitSupport

#[non_exhaustive]
pub struct LimitSupport {}

Set of supported strict limits for a decoder.

Trait Implementations

impl Clone for LimitSupport

fn clone(&self) -> LimitSupport

impl Debug for LimitSupport

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for LimitSupport

fn default() -> LimitSupport

impl Eq for LimitSupport

impl Hash for LimitSupport

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for LimitSupport

fn eq(&self, other: &LimitSupport) -> bool

impl StructuralPartialEq for LimitSupport

Auto Trait Implementations

impl Freeze for LimitSupport

impl RefUnwindSafe for LimitSupport

impl Send for LimitSupport

impl Sync for LimitSupport

impl Unpin for LimitSupport

impl UnsafeUnpin for LimitSupport

impl UnwindSafe for LimitSupport

Blanket Implementations

impl<R, P> ReadPrimitive<R> for LimitSupport where R: Read + ReadEndian<P>, P: Default,

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for LimitSupport where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for LimitSupport where ST: ?Sized, DT: ?Sized,

impl<T> Any for LimitSupport where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for LimitSupport where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for LimitSupport where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for LimitSupport where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for LimitSupport

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> IntoEither for LimitSupport

impl<T> Pointable for LimitSupport

const ALIGN: usize = _;
type Init = T;
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> Read<Exclusive, BecauseExclusive> for LimitSupport where T: ?Sized,

impl<T> ToOwned for LimitSupport where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for LimitSupport where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for LimitSupport where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for LimitSupport where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>