Struct StartedNetwork
#[non_exhaustive]pub struct StartedNetwork {
pub handle: PacketDataHandle,
}Expand description
A started data call.
Returned by StartNetwork.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.handle: PacketDataHandleHandle of the call.
Trait Implementations§
§impl Clone for StartedNetwork
impl Clone for StartedNetwork
§fn clone(&self) -> StartedNetwork
fn clone(&self) -> StartedNetwork
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StartedNetwork
§impl Debug for StartedNetwork
impl Debug for StartedNetwork
impl Eq for StartedNetwork
§impl PartialEq for StartedNetwork
impl PartialEq for StartedNetwork
impl StructuralPartialEq for StartedNetwork
§impl TryFrom<&Message> for StartedNetwork
impl TryFrom<&Message> for StartedNetwork
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
§fn try_from(message: &Message) -> Result<Self, DecodeError>
fn try_from(message: &Message) -> Result<Self, DecodeError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for StartedNetwork
impl RefUnwindSafe for StartedNetwork
impl Send for StartedNetwork
impl Sync for StartedNetwork
impl Unpin for StartedNetwork
impl UnsafeUnpin for StartedNetwork
impl UnwindSafe for StartedNetwork
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