pub struct Link<S> { /* private fields */ }Implementations§
Source§impl<S> Link<S>
impl<S> Link<S>
pub fn path(&self) -> &Path<ByteString>
pub fn path_mut(&mut self) -> &mut Path<ByteString>
pub fn frame(&self) -> &Attach
pub fn state(&self) -> &S
pub fn state_mut(&mut self) -> &mut S
pub fn handle(&self) -> Handle
pub fn session(&self) -> &Session
pub fn session_mut(&mut self) -> &mut Session
pub fn link_credit(self, credit: u32)
Sourcepub fn remote_config(&self) -> &Configuration
pub fn remote_config(&self) -> &Configuration
Get remote connection configuration
Trait Implementations§
Auto Trait Implementations§
impl<S> !Freeze for Link<S>
impl<S> !RefUnwindSafe for Link<S>
impl<S> !Send for Link<S>
impl<S> !Sync for Link<S>
impl<S> Unpin for Link<S>
impl<S> !UnwindSafe for Link<S>
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