pub struct ARCPClient<T: Transport + 'static> { /* private fields */ }Expand description
Client-side entry point.
Implementations§
Source§impl<T: Transport + 'static> ARCPClient<T>
impl<T: Transport + 'static> ARCPClient<T>
Sourcepub fn open(self) -> Result<Session<Unauthenticated, T>, ARCPError>
pub fn open(self) -> Result<Session<Unauthenticated, T>, ARCPError>
Open an unauthenticated session.
§Errors
Returns ARCPError with code ErrorCode::FailedPrecondition if
the client has already opened its session (the underlying transport
is consumed at that point).
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ARCPClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for ARCPClient<T>where
T: RefUnwindSafe,
impl<T> Send for ARCPClient<T>
impl<T> Sync for ARCPClient<T>
impl<T> Unpin for ARCPClient<T>where
T: Unpin,
impl<T> UnsafeUnpin for ARCPClient<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ARCPClient<T>where
T: UnwindSafe,
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