struct CommandListEnd;
Available on
riot_module_shell
only.Trait Implementations§
Source§impl<const BUFSIZE: usize> CommandList<BUFSIZE> for CommandListEnd
impl<const BUFSIZE: usize> CommandList<BUFSIZE> for CommandListEnd
type WithBufferSizeResult<const NEWSIZE: usize> = CommandListEnd
Source§fn with_buffer_size<const NEWSIZE: usize>(
self,
) -> Self::WithBufferSizeResult<NEWSIZE>
fn with_buffer_size<const NEWSIZE: usize>( self, ) -> Self::WithBufferSizeResult<NEWSIZE>
Change the buffer size used for
.run_forever_providing_buf()
. Read morefn run_once_with_buf(&mut self, linebuffer: &mut [u8])
fn run_forever_with_buf(&mut self, linebuffer: &mut [u8]) -> !
Source§fn run_forever(&mut self) -> !
fn run_forever(&mut self) -> !
Run the shell prompt on stdio Read more
Source§fn run_forever_providing_buf(&mut self) -> !
fn run_forever_providing_buf(&mut self) -> !
👎Deprecated since 0.9: Renamed to run_forever
Source§fn run_once_providing_buf(&mut self)
fn run_once_providing_buf(&mut self)
👎Deprecated since 0.9: Renamed to run_once
Source§impl CommandListInternals for CommandListEnd
impl CommandListInternals for CommandListEnd
type Built = shell_command_t
fn build_shell_command<Root: CommandListInternals>(&self) -> Self::Built
Source§fn find_self_and_run(
&mut self,
_argc: i32,
_argv: *mut *mut c_char,
_command_index: usize,
) -> i32
fn find_self_and_run( &mut self, _argc: i32, _argv: *mut *mut c_char, _command_index: usize, ) -> i32
Run your own callback with argc and argv if the called argument is what the implementation
put into its own entry of its Built, or defer to its next.
fn run_any<R, F: Fn(*const shell_command_t, *mut c_char, i32) -> R>( &mut self, linebuffer: &mut [u8], cb: F, ) -> R
fn find_root_and_run( argc: i32, argv: *mut *mut c_char, command_index: usize, ) -> i32
Auto Trait Implementations§
impl Freeze for CommandListEnd
impl RefUnwindSafe for CommandListEnd
impl Send for CommandListEnd
impl Sync for CommandListEnd
impl Unpin for CommandListEnd
impl UnwindSafe for CommandListEnd
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
Source§impl<T> IntoSwitch for T
impl<T> IntoSwitch for T
Source§fn into_switch<ActiveLevel>(self) -> Switch<T, ActiveLevel>
fn into_switch<ActiveLevel>(self) -> Switch<T, ActiveLevel>
Source§fn into_active_high_switch(self) -> Switch<Self, ActiveHigh>where
Self: Sized,
fn into_active_high_switch(self) -> Switch<Self, ActiveHigh>where
Self: Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 0 bytes