runx_runtime::dev::watch
Structs §
DevWatchOptions §
Implementations §
impl DevWatchOptions
new
fn new(root: impl Into<PathBuf>) -> Self#[must_use]Trait Implementations §
impl Borrow for DevWatchOptions
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for DevWatchOptions
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for DevWatchOptions
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for DevWatchOptions
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for DevWatchOptions
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for DevWatchOptions
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for DevWatchOptions
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for DevWatchOptions
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for DevWatchOptions
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for DevWatchOptions
Output
impl Equivalent for DevWatchOptions
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Equivalent for DevWatchOptions
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Clone for DevWatchOptions
clone
fn clone(self: &Self) -> DevWatchOptionsimpl Debug for DevWatchOptions
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for DevWatchOptions
eq
fn eq(self: &Self, other: &DevWatchOptions) -> boolimpl Send for DevWatchOptions
impl Sync for DevWatchOptions
impl Freeze for DevWatchOptions
impl UnsafeUnpin for DevWatchOptions
impl Unpin for DevWatchOptions
impl UnwindSafe for DevWatchOptions
impl RefUnwindSafe for DevWatchOptions
impl StructuralPartialEq for DevWatchOptions
impl Eq for DevWatchOptions
DevWatchSnapshot §
Trait Implementations §
impl Borrow for DevWatchSnapshot
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for DevWatchSnapshot
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for DevWatchSnapshot
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for DevWatchSnapshot
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for DevWatchSnapshot
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for DevWatchSnapshot
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for DevWatchSnapshot
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for DevWatchSnapshot
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for DevWatchSnapshot
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for DevWatchSnapshot
Output
impl Equivalent for DevWatchSnapshot
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Equivalent for DevWatchSnapshot
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Clone for DevWatchSnapshot
clone
fn clone(self: &Self) -> DevWatchSnapshotimpl Debug for DevWatchSnapshot
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for DevWatchSnapshot
eq
fn eq(self: &Self, other: &DevWatchSnapshot) -> boolimpl Send for DevWatchSnapshot
impl Sync for DevWatchSnapshot
impl Freeze for DevWatchSnapshot
impl UnsafeUnpin for DevWatchSnapshot
impl Unpin for DevWatchSnapshot
impl UnwindSafe for DevWatchSnapshot
impl RefUnwindSafe for DevWatchSnapshot
impl StructuralPartialEq for DevWatchSnapshot
impl Eq for DevWatchSnapshot
DevWatchEvent §
Trait Implementations §
impl Borrow for DevWatchEvent
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for DevWatchEvent
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for DevWatchEvent
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for DevWatchEvent
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for DevWatchEvent
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for DevWatchEvent
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for DevWatchEvent
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for DevWatchEvent
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for DevWatchEvent
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for DevWatchEvent
Output
impl Equivalent for DevWatchEvent
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Equivalent for DevWatchEvent
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Clone for DevWatchEvent
clone
fn clone(self: &Self) -> DevWatchEventimpl Debug for DevWatchEvent
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for DevWatchEvent
eq
fn eq(self: &Self, other: &DevWatchEvent) -> boolimpl Send for DevWatchEvent
impl Sync for DevWatchEvent
impl Freeze for DevWatchEvent
impl UnsafeUnpin for DevWatchEvent
impl Unpin for DevWatchEvent
impl UnwindSafe for DevWatchEvent
impl RefUnwindSafe for DevWatchEvent
impl StructuralPartialEq for DevWatchEvent
impl Eq for DevWatchEvent
DevWatchTrigger §
Trait Implementations §
impl Borrow for DevWatchTrigger
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for DevWatchTrigger
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for DevWatchTrigger
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for DevWatchTrigger
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for DevWatchTrigger
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for DevWatchTrigger
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for DevWatchTrigger
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for DevWatchTrigger
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for DevWatchTrigger
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for DevWatchTrigger
Output
impl Equivalent for DevWatchTrigger
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Equivalent for DevWatchTrigger
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Clone for DevWatchTrigger
clone
fn clone(self: &Self) -> DevWatchTriggerimpl Debug for DevWatchTrigger
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for DevWatchTrigger
eq
fn eq(self: &Self, other: &DevWatchTrigger) -> boolimpl Send for DevWatchTrigger
impl Sync for DevWatchTrigger
impl Freeze for DevWatchTrigger
impl UnsafeUnpin for DevWatchTrigger
impl Unpin for DevWatchTrigger
impl UnwindSafe for DevWatchTrigger
impl RefUnwindSafe for DevWatchTrigger
impl StructuralPartialEq for DevWatchTrigger
impl Eq for DevWatchTrigger
PollingDevWatcher §
Implementations §
impl PollingDevWatcher
new
fn new(options: DevWatchOptions) -> Result<Self, DevWatchError>poll
fn poll(self: &mut Self) -> Result<Option<DevWatchTrigger>, DevWatchError>Trait Implementations §
impl Borrow for PollingDevWatcher
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for PollingDevWatcher
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for PollingDevWatcher
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for PollingDevWatcher
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for PollingDevWatcher
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for PollingDevWatcher
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for PollingDevWatcher
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for PollingDevWatcher
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for PollingDevWatcher
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for PollingDevWatcher
Output
impl Clone for PollingDevWatcher
clone
fn clone(self: &Self) -> PollingDevWatcherimpl Debug for PollingDevWatcher
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Send for PollingDevWatcher
impl Sync for PollingDevWatcher
impl Freeze for PollingDevWatcher
impl UnsafeUnpin for PollingDevWatcher
impl Unpin for PollingDevWatcher
impl UnwindSafe for PollingDevWatcher
impl RefUnwindSafe for PollingDevWatcher
Enums §
DevWatchEventKind §
Trait Implementations §
impl Borrow for DevWatchEventKind
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for DevWatchEventKind
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl CloneToUninit for DevWatchEventKind
clone_to_uninit
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)impl Into for DevWatchEventKind
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for DevWatchEventKind
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for DevWatchEventKind
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for DevWatchEventKind
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for DevWatchEventKind
type_id
fn type_id(self: &Self) -> TypeIdimpl ToOwned for DevWatchEventKind
Owned
to_owned
fn to_owned(self: &Self) -> Tclone_into
fn clone_into(self: &Self, target: &mut T)impl Same for DevWatchEventKind
Output
impl Equivalent for DevWatchEventKind
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Equivalent for DevWatchEventKind
equivalent
fn equivalent(self: &Self, key: &K) -> boolimpl Clone for DevWatchEventKind
clone
fn clone(self: &Self) -> DevWatchEventKindimpl Debug for DevWatchEventKind
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl PartialEq for DevWatchEventKind
eq
fn eq(self: &Self, other: &DevWatchEventKind) -> boolimpl Send for DevWatchEventKind
impl Sync for DevWatchEventKind
impl Freeze for DevWatchEventKind
impl UnsafeUnpin for DevWatchEventKind
impl Unpin for DevWatchEventKind
impl UnwindSafe for DevWatchEventKind
impl RefUnwindSafe for DevWatchEventKind
impl StructuralPartialEq for DevWatchEventKind
impl Eq for DevWatchEventKind
DevWatchError §
Trait Implementations §
impl Borrow for DevWatchError
borrow
fn borrow(self: &Self) -> &Timpl BorrowMut for DevWatchError
borrow_mut
fn borrow_mut(self: &mut Self) -> &mut Timpl Into for DevWatchError
into
fn into(self: Self) -> UCalls U::from(self).
That is, this conversion is whatever the implementation of
chooses to do.From<T> for U
impl From for DevWatchError
from
fn from(t: T) -> TReturns the argument unchanged.
impl TryInto for DevWatchError
Error
try_into
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>impl TryFrom for DevWatchError
Error
try_from
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl Any for DevWatchError
type_id
fn type_id(self: &Self) -> TypeIdimpl ToString for DevWatchError
to_string
fn to_string(self: &Self) -> Stringimpl Same for DevWatchError
Output
impl Debug for DevWatchError
fmt
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Error for DevWatchError
source
fn source(self: &Self) -> ::core::option::Option<&dyn ::thiserror::__private18::Error + 'static>impl Display for DevWatchError
fmt
fn fmt(self: &Self, __formatter: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Resultimpl Send for DevWatchError
impl Sync for DevWatchError
impl Freeze for DevWatchError
impl UnsafeUnpin for DevWatchError
impl Unpin for DevWatchError
impl UnwindSafe for DevWatchError
impl RefUnwindSafe for DevWatchError
Constants §
DEFAULT_DEV_WATCH_DEBOUNCE_MS §
Functions §
collect_watch_snapshot §
fn collect_watch_snapshot(options: &DevWatchOptions) -> Result<DevWatchSnapshot, DevWatchError>should_ignore_dev_watch_path §
fn should_ignore_dev_watch_path(path: &std::path::Path, extra_ignored_names: &[String]) -> bool#[must_use]