pub struct EntityStatusResponse {
pub node_type: NodeType,
pub max_concurrent_sockets: [u8; 1],
pub currently_open_sockets: [u8; 1],
pub max_data_size: [u8; 4],
}Expand description
Expected reponse from EntityStatusRequest.
Containing details of the target of the EntityStatusRequest, the
EntityStatusResponse provides the program with details pertaining to the
active status of the entity.
Fields§
§node_type: NodeTypeThe type of entity, either a Gateway or Node
max_concurrent_sockets: [u8; 1]The number of maximum concurrent TCP sockets allowed on this entity
currently_open_sockets: [u8; 1]The number of currently open TCP sockets on the entity
max_data_size: [u8; 4]The max data size allowed to be sent to the entity
Trait Implementations§
Source§impl Clone for EntityStatusResponse
impl Clone for EntityStatusResponse
Source§fn clone(&self) -> EntityStatusResponse
fn clone(&self) -> EntityStatusResponse
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 EntityStatusResponse
impl Debug for EntityStatusResponse
Source§impl From<EntityStatusResponse> for [u8; 7]
impl From<EntityStatusResponse> for [u8; 7]
Source§fn from(value: EntityStatusResponse) -> Self
fn from(value: EntityStatusResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EntityStatusResponse
impl PartialEq for EntityStatusResponse
Source§impl TryFrom<&[u8]> for EntityStatusResponse
impl TryFrom<&[u8]> for EntityStatusResponse
impl Copy for EntityStatusResponse
impl StructuralPartialEq for EntityStatusResponse
Auto Trait Implementations§
impl Freeze for EntityStatusResponse
impl RefUnwindSafe for EntityStatusResponse
impl Send for EntityStatusResponse
impl Sync for EntityStatusResponse
impl Unpin for EntityStatusResponse
impl UnsafeUnpin for EntityStatusResponse
impl UnwindSafe for EntityStatusResponse
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