pub enum CallKind {
FunctionCall,
MethodCall {
method: String,
},
}Expand description
Distinguishes qualified function calls from method calls.
Variants§
FunctionCall
A qualified path call like fs::read(...) or Command::new(...).
MethodCall
A method call like stream.connect(...) or cmd.output().
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallKind
impl RefUnwindSafe for CallKind
impl Send for CallKind
impl Sync for CallKind
impl Unpin for CallKind
impl UnsafeUnpin for CallKind
impl UnwindSafe for CallKind
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