pub struct ConnectAttemptRequest {
pub network: NetworkIdentifier,
pub credential: Credential,
pub reason: ConnectReason,
pub attempts: u8,
}Fields§
§network: NetworkIdentifier§credential: Credential§reason: ConnectReason§attempts: u8Implementations§
Source§impl ConnectAttemptRequest
impl ConnectAttemptRequest
pub fn new( network: NetworkIdentifier, credential: Credential, reason: ConnectReason, ) -> Self
Trait Implementations§
Source§impl Clone for ConnectAttemptRequest
impl Clone for ConnectAttemptRequest
Source§fn clone(&self) -> ConnectAttemptRequest
fn clone(&self) -> ConnectAttemptRequest
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 From<ConnectSelection> for ConnectAttemptRequest
impl From<ConnectSelection> for ConnectAttemptRequest
Source§fn from(selection: ConnectSelection) -> ConnectAttemptRequest
fn from(selection: ConnectSelection) -> ConnectAttemptRequest
Converts to this type from the input type.
Source§impl PartialEq for ConnectAttemptRequest
impl PartialEq for ConnectAttemptRequest
impl StructuralPartialEq for ConnectAttemptRequest
Auto Trait Implementations§
impl Freeze for ConnectAttemptRequest
impl RefUnwindSafe for ConnectAttemptRequest
impl Send for ConnectAttemptRequest
impl Sync for ConnectAttemptRequest
impl Unpin for ConnectAttemptRequest
impl UnwindSafe for ConnectAttemptRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more