[−][src]Struct librist_rust::ReceiverContext
Implementations
impl<CB: Send> ReceiverContext<CB> where
CB: FnMut(ReceiveDataBlock),
[src]
CB: FnMut(ReceiveDataBlock),
pub fn create(
profile: Profile,
logging_settings: LoggingSettings,
callback: CB
) -> Result<ReceiverContext<CB>, RistError>
[src]
profile: Profile,
logging_settings: LoggingSettings,
callback: CB
) -> Result<ReceiverContext<CB>, RistError>
pub fn peer_create(&mut self, peer_config: PeerConfig) -> Result<(), RistError>
[src]
pub fn start(&mut self) -> Result<(), RistError>
[src]
pub fn auth_handler_set(&mut self) -> Result<(), RistError>
[src]
pub fn oob_callback_set(&mut self) -> Result<(), RistError>
[src]
pub fn data_read(
&mut self,
timeout: Duration
) -> Result<DataReadResponse, RistError>
[src]
&mut self,
timeout: Duration
) -> Result<DataReadResponse, RistError>
Trait Implementations
impl<CB> Drop for ReceiverContext<CB> where
CB: FnMut(ReceiveDataBlock),
[src]
CB: FnMut(ReceiveDataBlock),
Auto Trait Implementations
impl<CB> RefUnwindSafe for ReceiverContext<CB> where
CB: RefUnwindSafe,
CB: RefUnwindSafe,
impl<CB> !Send for ReceiverContext<CB>
impl<CB> !Sync for ReceiverContext<CB>
impl<CB> Unpin for ReceiverContext<CB>
impl<CB> UnwindSafe for ReceiverContext<CB> where
CB: UnwindSafe,
CB: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,