[−]Struct jni_android_sys::java::nio::channels::Pipe_SinkChannel
public class Pipe.SinkChannel
Required feature: "java-nio-channels-Pipe_SinkChannel"
Methods
impl Pipe_SinkChannel
Methods from Deref<Target = AbstractSelectableChannel>
pub fn provider<'env>(
&'env self
) -> Result<Option<Local<'env, SelectorProvider>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SelectorProvider>>, Local<'env, Throwable>>
Required features: "java-nio-channels-spi-SelectorProvider"
pub fn isRegistered<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn keyFor<'env>(
&'env self,
arg0: impl Into<Option<&'env Selector>>
) -> Result<Option<Local<'env, SelectionKey>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Selector>>
) -> Result<Option<Local<'env, SelectionKey>>, Local<'env, Throwable>>
Required features: "java-nio-channels-SelectionKey", "java-nio-channels-Selector"
pub fn register<'env>(
&'env self,
arg0: impl Into<Option<&'env Selector>>,
arg1: i32,
arg2: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, SelectionKey>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Selector>>,
arg1: i32,
arg2: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, SelectionKey>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-nio-channels-SelectionKey", "java-nio-channels-Selector"
pub fn isBlocking<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn blockingLock<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn configureBlocking<'env>(
&'env self,
arg0: bool
) -> Result<Option<Local<'env, SelectableChannel>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, SelectableChannel>>, Local<'env, Throwable>>
Required features: "java-nio-channels-SelectableChannel"
Trait Implementations
impl AsJValue for Pipe_SinkChannel
impl AsRef<GatheringByteChannel> for Pipe_SinkChannel
fn as_ref(&self) -> &GatheringByteChannel
impl AsRef<WritableByteChannel> for Pipe_SinkChannel
fn as_ref(&self) -> &WritableByteChannel
impl AsValidJObjectAndEnv for Pipe_SinkChannel
impl Deref for Pipe_SinkChannel
type Target = AbstractSelectableChannel
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for Pipe_SinkChannel
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Pipe_SinkChannel
impl !Send for Pipe_SinkChannel
impl !Sync for Pipe_SinkChannel
impl Unpin for Pipe_SinkChannel
impl UnwindSafe for Pipe_SinkChannel
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,
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.
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>,