pub struct FeagiWebSocketClientRequesterProperties { /* private fields */ }Expand description
Configuration properties for creating a WebSocket requester client.
Implementations§
Source§impl FeagiWebSocketClientRequesterProperties
impl FeagiWebSocketClientRequesterProperties
Sourcepub fn new(server_address: &str) -> Result<Self, FeagiNetworkError>
pub fn new(server_address: &str) -> Result<Self, FeagiNetworkError>
Creates new requester properties with the given server address.
Trait Implementations§
Source§impl Clone for FeagiWebSocketClientRequesterProperties
impl Clone for FeagiWebSocketClientRequesterProperties
Source§fn clone(&self) -> FeagiWebSocketClientRequesterProperties
fn clone(&self) -> FeagiWebSocketClientRequesterProperties
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 FeagiClientRequesterProperties for FeagiWebSocketClientRequesterProperties
impl FeagiClientRequesterProperties for FeagiWebSocketClientRequesterProperties
Source§fn as_boxed_client_requester(&self) -> Box<dyn FeagiClientRequester>
fn as_boxed_client_requester(&self) -> Box<dyn FeagiClientRequester>
Creates a new boxed requester client from these properties.
fn get_endpoint_target(&self) -> TransportProtocolEndpoint
Source§impl PartialEq for FeagiWebSocketClientRequesterProperties
impl PartialEq for FeagiWebSocketClientRequesterProperties
Source§fn eq(&self, other: &FeagiWebSocketClientRequesterProperties) -> bool
fn eq(&self, other: &FeagiWebSocketClientRequesterProperties) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FeagiWebSocketClientRequesterProperties
Auto Trait Implementations§
impl Freeze for FeagiWebSocketClientRequesterProperties
impl RefUnwindSafe for FeagiWebSocketClientRequesterProperties
impl Send for FeagiWebSocketClientRequesterProperties
impl Sync for FeagiWebSocketClientRequesterProperties
impl Unpin for FeagiWebSocketClientRequesterProperties
impl UnsafeUnpin for FeagiWebSocketClientRequesterProperties
impl UnwindSafe for FeagiWebSocketClientRequesterProperties
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> 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