pub struct CreateSocket {
pub domain: Domain,
pub connection_type: Type,
pub protocol: Protocol,
pub cid: Option<i32>,
}Expand description
AT command to create a socket
Fields§
§domain: DomainType of IP connection that will be used
connection_type: TypeCommunication type that will be used
protocol: ProtocolUnderlaying communication protocol that will be used
cid: Option<i32>PDP context, check PDPContext
Trait Implementations§
Source§impl AtRequest for CreateSocket
impl AtRequest for CreateSocket
Auto Trait Implementations§
impl Freeze for CreateSocket
impl RefUnwindSafe for CreateSocket
impl Send for CreateSocket
impl Sync for CreateSocket
impl Unpin for CreateSocket
impl UnwindSafe for CreateSocket
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