pub enum MethodType {
Procedure,
Method,
Event,
}Expand description
The type of a SOME/IP method.
This defines how it should process SOME/IP messages.
Variants§
Procedure
A callable function on a service interface that does not return a value.
Method
A callable function on a service interface that returns a value.
Event
A non-callable event on the service interface.
Trait Implementations§
Source§impl Clone for MethodType
impl Clone for MethodType
Source§fn clone(&self) -> MethodType
fn clone(&self) -> MethodType
Returns a duplicate 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 MethodType
impl Debug for MethodType
Source§impl PartialEq for MethodType
impl PartialEq for MethodType
impl Copy for MethodType
impl Eq for MethodType
impl StructuralPartialEq for MethodType
Auto Trait Implementations§
impl Freeze for MethodType
impl RefUnwindSafe for MethodType
impl Send for MethodType
impl Sync for MethodType
impl Unpin for MethodType
impl UnsafeUnpin for MethodType
impl UnwindSafe for MethodType
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