pub struct NDNPutDataOutputRequestWithBuffer {
pub common: NDNOutputRequestCommon,
pub object_id: ObjectId,
pub data: Vec<u8>,
}
Fields
common: NDNOutputRequestCommon
object_id: ObjectId
data: Vec<u8>
Implementations
sourceimpl NDNPutDataOutputRequestWithBuffer
impl NDNPutDataOutputRequestWithBuffer
pub fn new(level: NDNAPILevel, object_id: ObjectId, data: Vec<u8>) -> Self
pub fn new_ndc(object_id: ObjectId, data: Vec<u8>) -> Self
pub fn new_ndn(
target: Option<DeviceId>,
object_id: ObjectId,
data: Vec<u8>
) -> Self
pub fn new_router(
target: Option<ObjectId>,
object_id: ObjectId,
data: Vec<u8>
) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NDNPutDataOutputRequestWithBuffer
impl Send for NDNPutDataOutputRequestWithBuffer
impl Sync for NDNPutDataOutputRequestWithBuffer
impl Unpin for NDNPutDataOutputRequestWithBuffer
impl UnwindSafe for NDNPutDataOutputRequestWithBuffer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more