Trait open_protocol::types::FromBytes
[−]
[src]
pub trait FromBytes: Sized { fn read_bytes(bytes: &mut Cursor<&[u8]>) -> Result<Self>; fn from_bytes(bytes: &[u8]) -> Result<Self> { ... } }
Required Methods
Provided Methods
fn from_bytes(bytes: &[u8]) -> Result<Self>
Implementors
impl FromBytes for Header
impl FromBytes for u8
impl FromBytes for u16
impl FromBytes for u32
impl FromBytes for VersionAck
impl FromBytes for ActivationAck
impl FromBytes for ControlAck
impl FromBytes for FlightControlAck
impl FromBytes for SwitchResultAck
impl FromBytes for ArmAck
impl FromBytes for WaypointInitAck
impl FromBytes for WaypointStartStopAck
impl FromBytes for WaypointPauseResumeAck
impl FromBytes for LostControl
impl FromBytes for WaypointInit
impl FromBytes for WaypointData
impl FromBytes for WaypointDataAck
impl FromBytes for WaypointSetIdleSpeedAck
impl FromBytes for WaypointGetIdleSpeedAck
impl FromBytes for Timestamp
impl FromBytes for SyncStamp
impl FromBytes for QuaternionData
impl FromBytes for CommonData
impl FromBytes for VelocityData
impl FromBytes for PositionData
impl FromBytes for RelativePosition
impl FromBytes for GPSData
impl FromBytes for RTKData
impl FromBytes for MagnetData
impl FromBytes for RcData
impl FromBytes for GimbalData
impl FromBytes for ControlInfo
impl FromBytes for FlightStatus
impl FromBytes for FlightExtraStatus
impl FromBytes for BatteryInfo
impl FromBytes for WaypointUploadIncident
impl FromBytes for WaypointFinishIncident
impl FromBytes for WaypointReachIncident
impl FromBytes for WaypointStatus