pub struct ProtobufRequestWithLimit<T, const LIMIT: usize>(pub T, _)
where
T: Message + Default;Expand description
Protobuf request with configurable max size
Tuple Fields§
§0: TTrait Implementations§
Source§impl<S, T, const LIMIT: usize> FromRequest<S> for ProtobufRequestWithLimit<T, LIMIT>
impl<S, T, const LIMIT: usize> FromRequest<S> for ProtobufRequestWithLimit<T, LIMIT>
Auto Trait Implementations§
impl<T, const LIMIT: usize> Freeze for ProtobufRequestWithLimit<T, LIMIT>where
T: Freeze,
impl<T, const LIMIT: usize> RefUnwindSafe for ProtobufRequestWithLimit<T, LIMIT>where
T: RefUnwindSafe,
impl<T, const LIMIT: usize> Send for ProtobufRequestWithLimit<T, LIMIT>
impl<T, const LIMIT: usize> Sync for ProtobufRequestWithLimit<T, LIMIT>
impl<T, const LIMIT: usize> Unpin for ProtobufRequestWithLimit<T, LIMIT>where
T: Unpin,
impl<T, const LIMIT: usize> UnwindSafe for ProtobufRequestWithLimit<T, LIMIT>where
T: UnwindSafe,
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