pub struct PlaceholderOutput;
Expand description
Temporary value used for any kind of templates.
Can be used for compiling example code, in which it decodes from anything, but will always fail at runtime.
Trait Implementations§
Source§impl Clone for PlaceholderOutput
impl Clone for PlaceholderOutput
Source§fn clone(&self) -> PlaceholderOutput
fn clone(&self) -> PlaceholderOutput
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlaceholderOutput
impl Debug for PlaceholderOutput
Source§impl TopDecodeMulti for PlaceholderOutput
impl TopDecodeMulti for PlaceholderOutput
fn multi_decode_or_handle_err<I, H>(
_input: &mut I,
h: H,
) -> Result<Self, H::HandledErr>where
I: TopDecodeMultiInput,
H: DecodeErrorHandler,
Source§const IS_SINGLE_VALUE: bool = false
const IS_SINGLE_VALUE: bool = false
Used to optimize single value loading of endpoint arguments.
fn multi_decode<I>(input: &mut I) -> Result<Self, DecodeError>where
I: TopDecodeMultiInput,
impl Copy for PlaceholderOutput
Auto Trait Implementations§
impl Freeze for PlaceholderOutput
impl RefUnwindSafe for PlaceholderOutput
impl Send for PlaceholderOutput
impl Sync for PlaceholderOutput
impl Unpin for PlaceholderOutput
impl UnwindSafe for PlaceholderOutput
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