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