pub struct FbSetModeOfOperation { /* private fields */ }Expand description
Used to set the mode of operation 0x6060 of a Ci402 drive using SDO writes. The mode is confirmed using 0x6061 mode of operation display.
Implementations§
Source§impl FbSetModeOfOperation
impl FbSetModeOfOperation
pub fn reset(&mut self)
pub fn start(&mut self, target_mode: i8)
pub fn is_busy(&self) -> bool
pub fn is_error(&self) -> bool
pub fn error_code(&self) -> i32
pub fn error_message(&self) -> String
pub fn tick(&mut self, client: &mut CommandClient, sdo: &mut SdoClient)
Trait Implementations§
Source§impl Clone for FbSetModeOfOperation
impl Clone for FbSetModeOfOperation
Source§fn clone(&self) -> FbSetModeOfOperation
fn clone(&self) -> FbSetModeOfOperation
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 moreAuto Trait Implementations§
impl Freeze for FbSetModeOfOperation
impl RefUnwindSafe for FbSetModeOfOperation
impl Send for FbSetModeOfOperation
impl Sync for FbSetModeOfOperation
impl Unpin for FbSetModeOfOperation
impl UnsafeUnpin for FbSetModeOfOperation
impl UnwindSafe for FbSetModeOfOperation
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